Trillex linux 1

From Teknologisk videncenter
Revision as of 12:40, 9 February 2009 by Trillex (talk | contribs) (New page: The command "find" find files on the filesystem. Example: find / # List all files find /etc # List all files under the /etc directory find / | wc -l ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The command "find" find files on the filesystem.

   Example:
   find /            # List all files
   find /etc         # List all files under the /etc directory
   find / | wc -l    # List all files, but don't show them on the screen
                     # The "|" is a pipe which directs output to the
                     # "wc" command as input. wc is wordcount. The toggle
                     # "-l" means count lines.