User:Gregor/FindThings

From KDE Wiki Sandbox
Revision as of 17:34, 11 October 2015 by Gregor (talk | contribs) (Created page with "= Find Things = How to find things under Linux. == Find files by filename == Case-insensitive: find . -type f -iname "*hello*" Finds "Hello, hello, Thello, Thelloman, HELL...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Find Things

How to find things under Linux.

Find files by filename

Case-insensitive:

find . -type f -iname "*hello*"

Finds "Hello, hello, Thello, Thelloman, HELLO, hELLO, ..."

Case-sensitive:

find . -type f -name "*Hello*"

Finds "Hello, THello, THelloman, ..."

(http://stackoverflow.com/questions/13131048/linux-find-file-names-with-given-string)