old-www/LDP/GNU-Linux-Tools-Summary/html/working-files-folders.html

1140 lines
20 KiB
HTML
Raw Permalink Blame History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML
><HEAD
><TITLE
>Working with files and folders</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="GNU/Linux Command-Line Tools Summary"
HREF="index.html"><LINK
REL="UP"
TITLE="Working with the file-system"
HREF="working-with-the-file-system.html"><LINK
REL="PREVIOUS"
TITLE="Moving around the filesystem"
HREF="using-filesystem.html"><LINK
REL="NEXT"
TITLE="Mass Rename/copy/link Tools"
HREF="mass-rename.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>GNU/Linux Command-Line Tools Summary</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="using-filesystem.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 7. Working with the file-system</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="mass-rename.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="WORKING-FILES-FOLDERS"
></A
>7.2. Working with files and folders</H1
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>mkdir</DT
><DD
><P
>Make a directory. Use<EM
> mkdir -p</EM
> to create subdirectories automatically.</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Directories are Folders</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Directories are sometimes called folders in other operating systems (such as Microsoft Windows)</P
></TD
></TR
></TABLE
></DIV
><P
>Examples:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>mkdir -p /home/matt/work/maths</PRE
></FONT
></TD
></TR
></TABLE
><P
>This would create the directories &#8220;work&#8221; and &#8220;maths&#8221; under matt's home directory (if matt's home directory didn't exist it would create that too).</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>mkdir foo</PRE
></FONT
></TD
></TR
></TABLE
><P
>This would create a directory in the current path named &#8220;foo&#8221;.</P
></DD
><DT
>rm</DT
><DD
><P
>Remove/delete a file(s) or directories(s). You can use standard wildcards with this command <A
HREF="wildcards.html#STANDARD-WILDCARDS"
>Section 20.4.1</A
>.</P
><P
>Command syntax:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>rm -options file_or_folder</PRE
></FONT
></TD
></TR
></TABLE
><P
>You can of course use standard wildcards to delete multiple files or multiple directories and files.</P
><P
>Use the<EM
> -R</EM
> or <EM
>-r</EM
> option to remove recursively, this removes everything within subdirectories. Also try the <EM
>-f</EM
> option to force removal (useful when you don't want to be prompted).</P
><DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Disabling Aliases (per execution)</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>On some systems such as <SPAN
CLASS="PRODUCTNAME"
>Mandrake</SPAN
> an alias will send <EM
>rm</EM
> to <EM
>rm -i</EM
> (prompting you for every file you wish to delete). To override this use: <EM
>\rm -R directory </EM
>(using the \ disables the alias for this run only)</P
></TD
></TR
></TABLE
></DIV
></DD
><DT
>rmdir</DT
><DD
><P
>Remove an empty directory. If you want to remove a directory with files in it type &#8220; rm -R directory&#8221;, read above for information on<EM
> rm -R</EM
></P
><P
>Command syntax:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>rmdir directory</PRE
></FONT
></TD
></TR
></TABLE
><P
>This will only remove directory if it's empty otherwise it will exit with an error message.</P
></DD
><DT
>mv</DT
><DD
><P
>Move a file or a directory to a new location or rename a file/directory.</P
><P
>Rename example: </P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>mv filename1 filename2</PRE
></FONT
></TD
></TR
></TABLE
><P
>Renames filename1 to filename2.</P
><P
>To move a file or directory, simply type: </P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>mv original_file_or_folder new_location</PRE
></FONT
></TD
></TR
></TABLE
><P
>Note that this command can use standard wildcards <A
HREF="wildcards.html#STANDARD-WILDCARDS"
>Section 20.4.1</A
> to move files (not for renaming).</P
><DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Move and rename</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Note that you can also move and rename a file in a single command. The difference is with the destination (right hand side) you change the filename to the new name of the file.</P
><P
>For example typing:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>mv /etc/configuration.txt /home/joe/backupconfig</PRE
></FONT
></TD
></TR
></TABLE
><P
>This would move the file "configuration.txt" to /home/joe/ and rename it "backupconfig"</P
></TD
></TR
></TABLE
></DIV
></DD
><DT
>cp</DT
><DD
><P
>Copy a file. Has a number of useful options, such as<EM
> -R </EM
>(or <EM
>-r</EM
>) which recursively copies directories and subdirectories.</P
><P
>Command syntax:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>cp -options file_or_files new_location</PRE
></FONT
></TD
></TR
></TABLE
><P
>Examples:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>cp file1 file2</PRE
></FONT
></TD
></TR
></TABLE
><P
>Simply copy file1 to file2 (in the same directory).</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>cp /tmp/file1 ~/file2 /mnt/win_c</PRE
></FONT
></TD
></TR
></TABLE
><P
>Where the last option is the directory to be copied to. The above example copies two files from different areas of the file system to /mnt/win_c</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>cp -R directory_and_or_files new_location</PRE
></FONT
></TD
></TR
></TABLE
><P
>This command will copy directories (and all subdirectories) and/or files t<EM
>o new_location</EM
> </P
><P
>Note that this command can use standard wildcards <A
HREF="wildcards.html#STANDARD-WILDCARDS"
>Section 20.4.1</A
> to copy multiple files.</P
><P
>You may also like to try the &#8220;-u&#8221; when moving large directories around, this copies only if the source file is newer than the destination to where you are copying to, or if the destination file does not exist at all.</P
></DD
><DT
>ln</DT
><DD
><P
>Create a link to a file. There are two types of links:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
>Hard<EFBFBD>links</DT
><DD
><P
>Hard links are considered pointers to a file (the number is listed by typing<EM
> ls -l</EM
>)<EM
></EM
>. Each hard-link is a reference to a file.</P
><P
>The file itself only goes away when all hard-links are deleted. If you delete the original file and there are hard links to it the original file will remain. </P
><P
>Example:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>ln target_name link_name </PRE
></FONT
></TD
></TR
></TABLE
><P
>Will create a &#8220;hard link&#8221; to target_name called link_name, you need to delete both of these to remove the file.</P
></DD
><DT
>Symbolic<EFBFBD>links</DT
><DD
><P
>Symbolic links are created by typing &#8220;ln -s&#8221;.<EM
> </EM
>When you remove the original file the symbolic link becomes broken, a symbolic link is similar to a windows &#8220;short-cut&#8221;. </P
><P
>The advantage of symbolic links is that the target can be to something on another file-system, while hard-links can only exist on the same file-system.</P
><P
>For example:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>ln -s target_name link_name</PRE
></FONT
></TD
></TR
></TABLE
><P
>This creates a symbolic link to &#8220;target_name&#8221; called &#8220;link_name&#8221;, if you delete the original file the symbolic link won't work (it becomes a broken link).</P
></DD
></DL
></DIV
></DD
><DT
>shred</DT
><DD
><P
>Securely remove a file by overwriting it first. Prevents the data from being recovered by software (and even by most hardware), please be very careful when using shred as you may never be able to retrieve the data you have run the application on.</P
><P
>For example:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>shred -n 2 -z -v /dev/hda1</PRE
></FONT
></TD
></TR
></TABLE
><A
NAME="AEN3620"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><P
>&#8220;What this tells shred, is to overwrite the partition 2 times with random data (- n 2) then finish it up by writing over it with zeroes (-z) and show you its progress (-v). Of course, change /dev/hda1 to the correct partition . Each pass can take some time, which is why I set it to only do 2 random passes instead of the default 25. You can adjust this number, of course, to your particular level of paranoia and the amount of time you have.</P
><P
>Since shred writes on such a low-level, it doesn't actually matter what kind of filesystem is on the partition--everything will be unrecoverable. Once shred is finished, you can shutdown the machine and sell or throw away the drive with peace of mind.</P
><P
>...However, even shre dding devices is not always completely reliable. For example, most disks map out bad sectors invisibly to the application; if the bad sectors contain sensitive data, `shred' won't be able to destroy it. [ shred info page ].&#8221;<A
NAME="AEN3712"
HREF="#FTN.AEN3712"
><SPAN
CLASS="footnote"
>[1]</SPAN
></A
> </P
></BLOCKQUOTE
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Shredding files doesn't work with all filesystems</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>Please note that as mentioned in the shred manual page (please see the manual and preferably info pages for more information). <EM
>shred </EM
>does not work correctly<EM
> </EM
>on log-structured or journaled filesystems, such as JFS, ReiserFS, XFS, Ext3 and many other modern filesystems</P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="TIP"
><P
></P
><TABLE
CLASS="TIP"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/tip.gif"
HSPACE="5"
ALT="Tip"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Alternatives to using shred</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>shred has its disadvantages when run on a filesystem. First of all since it has to be installed you cannot run shred on your operating systems filesystem, you also cannot use shred on a windows machine easily since you cannot install <EM
>shred</EM
> on this machine.</P
><P
>You may like to try alternatives such as the DBAN project that create self-booting floppy disks that can completely erase a machines hard disk.</P
></TD
></TR
></TABLE
></DIV
><P
>You may also like to see how <EM
>chattr</EM
> can assist you in shredding files once they are removed (it has similar problems to shred, only ext2 and ext3 style filesystems...), please see <A
HREF="file-permissions.html"
>Section 14.2</A
>.</P
></DD
><DT
>du</DT
><DD
><P
>Displays information about file size. Use<EM
> du filename </EM
>to display the size of a particular file. If you use it on directories it will display the information on the size of the files in the directory and each subdirectory. </P
><P
>Options for du (use<EM
> du -option(s)</EM
>):</P
><P
></P
><UL
><LI
><P
><EM
>-c </EM
>-- this will make <EM
>du</EM
> print a grand total after all arguments have being processed.</P
></LI
><LI
><P
><EM
>-s </EM
>-- summarises for each argument (prints the total).</P
></LI
><LI
><P
><EM
>-h</EM
> -- prints things in &#8220; human readable&#8221; mode; for example printing 1M (megabyte) rather than 1,024,000 (bytes).</P
></LI
></UL
><P
>Using the <EM
>-hs</EM
> options on a directory will display the total size of the directory and all subdirectories.</P
><P
>Command syntax:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>du -options file_directory_or_files</PRE
></FONT
></TD
></TR
></TABLE
><P
>Example:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>du -hs *</PRE
></FONT
></TD
></TR
></TABLE
><P
>This command will list the size of all files in the current directory and it will list the size of subdirectories, it will list things in human-readable sizes using 1024 Kb is a Megabyte, M for megabyte, K for kilobyte etc.</P
><P
></P
></DD
><DT
>file</DT
><DD
><P
>Attempts to find out what type of file it is, for example it may say it's: binary, an image file (well it will say jpeg, bmp et cetera), ASCII text, C header file and many other kinds of files, it's a very useful utility. </P
><P
>Command syntax:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>file file_name</PRE
></FONT
></TD
></TR
></TABLE
></DD
><DT
>stat</DT
><DD
><P
>Tells you detailed information about a file, including inode number creation/access date. Also has many advanced options and uses. </P
><P
>For simple use type:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>stat file</PRE
></FONT
></TD
></TR
></TABLE
></DD
><DT
>dd</DT
><DD
><P
>Copies data on a very low level and can be used to create copies of disks <A
HREF="duplicating-disks.html"
>Section 20.3</A
> and many other things (for example CD image files). </P
><P
><EM
>dd</EM
> can also perform conversions on files and vary the block size used when writing the file. </P
><P
>Command syntax, note the block size and count are optional and you can use files instead of devices...</P
><DIV
CLASS="NOTE"
><P
></P
><TABLE
CLASS="NOTE"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/note.gif"
HSPACE="5"
ALT="Note"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Please note</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
><EM
>dd</EM
> is an advanced and difficult to use command. Its also very powerful, so be careful what you do with it </P
></TD
></TR
></TABLE
></DIV
><P
>Command syntax:</P
><P
></P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>dd if=/dev/xxx of=/dev/xxx bs=xxxx count=x </PRE
></FONT
></TD
></TR
></TABLE
><DIV
CLASS="WARNING"
><P
></P
><TABLE
CLASS="WARNING"
WIDTH="90%"
BORDER="0"
><TR
><TD
WIDTH="25"
ALIGN="CENTER"
VALIGN="TOP"
><IMG
SRC="../images/warning.gif"
HSPACE="5"
ALT="Warning"></TD
><TH
ALIGN="LEFT"
VALIGN="CENTER"
><B
>Warning</B
></TH
></TR
><TR
><TD
>&nbsp;</TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
><P
>The command <EM
>dd</EM
> is used to work on a very low level. It can be used to overwrite important information such as your master-boot record or various important sections of your hard-disk. Please be careful when using it (especially when working with devices instead of files).</P
></TD
></TR
></TABLE
></DIV
></DD
><DT
>touch</DT
><DD
><P
>This command is used to create empty files, simply do<EM
> touch file_name</EM
>. It is also used to update the timestamps on files.</P
><P
><EM
>touch</EM
> can be used to change the time and/or date of a file:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>touch -t 05070915 my_report.txt<A
NAME="AEN3941"
HREF="#FTN.AEN3941"
><SPAN
CLASS="footnote"
>[2]</SPAN
></A
></PRE
></FONT
></TD
></TR
></TABLE
><P
>This command would change the timestamp on my_report.txt so that it would look like you created it at 9:15. The first four digits stand for May 7th (0507), in MM-DD (American style), and the last four (0915) the time, 9:15 in the morning. </P
><P
>Instead of using plain numbers to change the time, you can use options similar to that of the <EM
>date</EM
> tool. For example:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>touch -d '5 May 2000' some_file.txt</PRE
></FONT
></TD
></TR
></TABLE
><P
>You can also use <EM
>--date=</EM
> instead of <EM
>-d. </EM
>Also have a look at the date command under <A
HREF="date-time-calendars.html"
>Section 8.1</A
> for examples on using <EM
>-d</EM
> and <EM
>--date=</EM
> (the syntax for the date part is exactly the same when using <EM
>-d</EM
> or <EM
>--date</EM
>).</P
></DD
><DT
>split</DT
><DD
><P
>Splits files into several smaller files. </P
><P
>Use the <EM
>-b<>xx</EM
> option to split into <EM
>xx</EM
> bytes, also try <EM
>-k</EM
> for kilobytes, and <EM
>-m</EM
> for megabytes. You can use it to split text files and any other files... you can use <EM
>cat</EM
> to re-combine the files. </P
><P
>This may be useful if you have to transfer something to floppy disks or you wish to divide text files into certain sizes.</P
><P
>Command syntax:</P
><TABLE
BORDER="1"
BGCOLOR="#E0E0E0"
WIDTH="90%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="SCREEN"
>split -options file</PRE
></FONT
></TD
></TR
></TABLE
><P
>This will split the input file into 1000 lines of input each (thats the default...), and output (using the above example), with the input name file, &#8220;fileaa&#8221; (1st part of file), &#8220;fileab&#8221; (2nd part of file), &#8220;fileac&#8221; (3rd part of file) etc. until the there is no more of the file left to split.</P
></DD
></DL
></DIV
></DIV
><H3
CLASS="FOOTNOTES"
>Notes</H3
><TABLE
BORDER="0"
CLASS="FOOTNOTES"
WIDTH="100%"
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.AEN3712"
HREF="working-files-folders.html#AEN3712"
><SPAN
CLASS="footnote"
>[1]</SPAN
></A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>This information (as quoted) has come from the &#8220;Please, For the Love of All That's Recoverable, Shred Your Hard Drive!&#8221; article, number 18 in the <A
HREF="references.html"
><I
>Bibliography</I
></A
></P
></TD
></TR
><TR
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="5%"
><A
NAME="FTN.AEN3941"
HREF="working-files-folders.html#AEN3941"
><SPAN
CLASS="footnote"
>[2]</SPAN
></A
></TD
><TD
ALIGN="LEFT"
VALIGN="TOP"
WIDTH="95%"
><P
>This particular command and explanation has been used (with editing) from the <SPAN
CLASS="PRODUCTNAME"
>Linux</SPAN
> Online Classroom, see [4] in the <A
HREF="references.html"
><I
>Bibliography</I
></A
> for further information.</P
></TD
></TR
></TABLE
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="using-filesystem.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="mass-rename.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Moving around the filesystem</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="working-with-the-file-system.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Mass Rename/copy/link Tools</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>