Linux find file in whole system

I want to find file in whole system. My file name just say is “resume.pdf” and I forgot where I saved it. How to search entire Linux hard drive for a file?

Use the find command:

sudo find / -name "resume.pdf"
sudo find / -type f -name "resume.pdf"
# Find all pdf files
sudo find / -type f -iname "*.pdf"


You can use the following commands to find files on whole server file system:

# updatedb
$ locate resume.pdf