Like find, locate
can be used to search for files by
name.
With locate
, however, you need not have to include the entire file name; it
will search for parts of names.
Using locate
will search your entire computer system, so it can take a
significant amount of time depending on specificity and number of files.
The general syntax is locate [options] name
, where options like the -i
flag will make the search case insensitive.
- UNIX Guide 0.1
- Getting Started
- Connecting to Computers (ssh and VPN)
- Folders: cd, mkdir, pwd, and more!
- Copying and Removing Files
- Compressing and Expanding Files
- Processes
- Creating, Reading, and Editing Files
- Printing and Reorganizing Files
- Images
- Keyboard Shortcuts and Special Characters
- Other Helpful Things
- Quick Intro to Computer Admin-ing
- Running Jobs
- Fun Commands