Filter with grep
How
- Pipe command output to
grepfollowed by your search term - For example:
ls -la | grep Documentsshows only files with "Documents" in the name - Or:
ps aux | grep pythonshows only processes containing "python"
Try this
Run ls ~ | grep Doc to see only files and folders in your home directory that contain "Doc" in their names.
Why it works
Find what matters, ignore the rest.