Darren Ingall – Guildford Surrey UK | Personal Story, Charity Work & Projects

5. Find Things

← Back to Linux Mint Training

Use find for filenames and grep for words inside text files.

Illustration

Try these commands

find . -name '*.pdf'
grep 'word' notes.txt
grep -r 'word' Documents
Tip: Start by reading the command. Then predict what it will do before pressing Enter.
Safety: Never paste a command you do not understand when it contains sudo, rm, disk/partition commands, or redirects to important files.