< User:GregorRevision as of 19:43, 11 October 2015 by Gregor (talk | contribs) (→Find files by content and filename)(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) Contents 1 Find Things 1.1 Find files by filename 1.2 Find files by content and filename 1.2.1 grep 1.2.2 ack 1.2.3 ag 1.2.4 More tools Find Things How to find things under Linux. Find files by filename Case-insensitive example: find . -type f -iname "*hello*" Finds "Hello, hello, Thello, Thelloman, HELLO, hELLO, ..." Case-sensitive example: find . -type f -name "*Hello*" Finds "Hello, THello, THelloman, ..." (http://stackoverflow.com/questions/13131048/linux-find-file-names-with-given-string) Find files by content and filename grep Normally, one would use the standard tool grep, but ack is better in some ways. ack Case-insensitive example: ack -i kmoretools Install: sudo zypper install ack Website: http://beyondgrep.com/ ag Case-insensitive example: ack -i kmoretools Install: sudo zypper install the_silver_searcher Website: https://github.com/ggreer/the_silver_searcher More tools http://beyondgrep.com/more-tools/ Retrieved from "https://userbase.kde.org/index.php?title=User:Gregor/FindThings&oldid=352921" This page was last edited on 11 October 2015, at 19:43. Content is available under Creative Commons License SA 4.0 unless otherwise noted.