Tutorial: find files
Find files with the console:
Find files by filename
find / -name '*host*'
Find files by type and name
find /home -type f -name *.txt
Find files by type, name and content
find /home -type f -name *.txt | xargs grep Linux
Identify the disk by “lable” and copy the “uuid”.
Find files modified within the last 5 days
find /etc/ -mtime -5 -print
Find files used (and locked) by a user “www-data”
lsof -a -i -u www-data
List folders sorted by their used space
du -x / | sort -rn | more