Content
5.4
Listing
Directory Contents
5.4.6
Listing
directories recursively
Use the
ls -R (recursive) command to display
the contents of a directory and all of its subdirectories. Recursive
means to do again and again. This option is useful if the user wants to
see all directories, subdirectories, and their contents for a particular
part of the directory tree, as shown in the figure. If this is done
at a high level in the directory structure, the output can be
substantial.
Note: The -R option uses an
uppercase R.
The -R option commonly is used with many
UNIX commands to indicate a recursive action. However, it is sometimes a
lowercase r, depending on the command. Recursive generally refers to the
contents of a directory and all of its subdirectories.
Lab
Activity
Listing
Directory Information
In
this lab, the student uses the ls command, which is
used to determine the contents of a directory.
Wyszukiwarka
Podobne podstrony:
contentcontentcontentcontentcontentcontentcontentcontentcontentfunction domnode get contentcontentcontentcontentcontentcontentcontentwięcej podobnych podstron