Use find for filenames and grep for words inside text files.
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.