Difference between revisions of "Trillex linux 1"

From Teknologisk videncenter
Jump to: navigation, search
m (Making it pretty.)
m (Category edit)
Line 1: Line 1:
 
The command '''find''' find files on the filesystem.  
 
The command '''find''' find files on the filesystem.  
 
+
[[Category:Linux]][[Category:H2]]
 
     Example:
 
     Example:
 
     find /            # List all files
 
     find /            # List all files

Revision as of 11:42, 9 February 2009

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.