Close this search box.

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

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

This article is part of the GWB Archives. Original Author: Ask Paula!

Related Posts