Q. How do I locate files on Debian Linux?
A. You can use find and locate command.
find command search a file system in real time. So depending on the size of your file system (partition) and the depth of your search, the find command can sometime take a long time to scan all of the data.
To search your entire filesystem for the files called resume.doc type
$ find / -name resume.doc
locate command list or display files in databases that match a given filenames. This is not a real time reporting. The data reported in the output of locate isn't as fresh as the data reported by find. However it is the fastest way to find a file.
$ locate resume.doc
More Find command examples
Please see following previous examples for more information:
- Linux: Finding/locating files with find command part # 1
- Linux: Finding/locating files with find command part # 2
- Finding all .mp3 files and move to new directory from shell prompt
- Linux or Unix find and remove files with one find command on fly
- How do I find the largest files/directories on a Linux/UNIX/BSD filesystem?
- Find files by access, modification date under Linux or UNIX
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop




![HowTo: Use grep Command In Linux / UNIX [ Examples ]](http://s13.cyberciti.org/images/shared/rp/3/14.jpg)







{ 1 comment… read it below or add one }
How do I find a missing file names +8extpfx.ciii?