Saturday, May 19, 2012

How To: Search A File In Linux On Command Line

Suppose you are in the home directory and want to search the file bank_statements.txt then, on the command line type
$find -name bank_statements.txt

We can also use this to find folders and with regular expressions.

No comments:

Post a Comment