Trillex linux 1

From Teknologisk videncenter
Revision as of 12:42, 9 February 2009 by Trillex (talk | contribs) (Category edit)
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.