User Tools

Site Tools



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

Link to this comparison view

findafile [2013/01/27 21:29] (current)
Line 1: Line 1:
 +====== Find a File ======
 +Conveniently,​ the command used is '​find'​. ​
 +<​file>​find [path...] [expression]</​file>​
 +<​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://​​tipsforlinux/​articles/​21.html|http://​​tipsforlinux/​articles/​21.html]]
 +-- Main.FredPettis - 22 May 2009
findafile.txt ยท Last modified: 2013/01/27 21:29 (external edit)