November 1998
Beginner
368 pages
7h 58m
English
Where, oh where, did that file go? Sometimes locating a file requires more than cursing at your computer or listing directory contents with ls. Instead, you can use the find command, which lets you search in dozens of ways, including through the entire directory tree (Code Listing 2.11) or through directories you specify (Code Listing 2.12).
To find a file:
find . -name lostfile -print
To find files starting in a specific directory:
find /home/deb -name pending* -print
Read now
Unlock full access