User:Gregor/FindThings: Difference between revisions

From KDE UserBase Wiki
(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...")
(No difference)

Revision as of 17:34, 11 October 2015

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)