User Tools

Site Tools


findafile
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


findafile [2013/01/28 04:29] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Find a File ======
 +Conveniently, the command used is 'find'
  
 +Usage:
 +<file>find [path...] [expression]</file>
 +Example:
 +<file>find / -name filename.txt -print</file>
 +This would look for and display the file 'filename.txt' starting in root and moving through the directories recursively. In newer operating systems '-print' is the default and is not needed.
 +
 +For more information, type 'find --help' or 'man find'.<br />
 +Also, check out [[http://www.codecoffee.com/tipsforlinux/articles/21.html|http://www.codecoffee.com/tipsforlinux/articles/21.html]]
 +
 +
 +-- Main.FredPettis - 22 May 2009
findafile.txt · Last modified: 2013/01/28 04:29 by 127.0.0.1