Quantcast
Channel: Geekswithblogs.net
Viewing all articles
Browse latest Browse all 6441

Linux/Unix: How do I find any partial file name on any directory?

$
0
0

Originally posted on: http://geekswithblogs.net/AskPaula/archive/2013/12/04/154794.aspx

We've all been there-- like -- where's that offline htm file i bothered to save last week ... oh I think it was blue something... or was it something blue?

find ../ -name '*blue*.htm*'  -print

If you want to keep it in an output file to sort through later while you do something else:

find ../ -name '*blue*.htm*'  -print > $HOME/ foundBlue.txt

 


Viewing all articles
Browse latest Browse all 6441

Trending Articles