Finding a file

To locate a file in the file system , use the find command.

   find pathname -name filename -print

The pathname defines the directory to start from. Each subdirectory of this directory will be searched.

The -print option must be used to display results.

You can define the filename using wildcards. If these are used, the filename must be placed in 'quotes'.


[Home] [Search] [Index] This site maintained by guide@cs.mcgill.ca