# # locate
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

2003/11/18 locate

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© November 2003 Tony Lawrence

Locate is not avaiable on all platforms, but where it is, you can use this to find files on your system. It doesn't have the flexibility or power of "find", but because it uses a precreated index, it is much faster.

You can give wildcards to locate:


locate '*.html'
 

If you don't use any wild card characters, locate assumes wild cards: "locate html" is taken as "locate '*html*'

Locate's index is built by a script that needs to run frequently (usually in cron).


If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> locate


Inexpensive and informative Apple related e-books:

Take Control of Preview

Take Control of Numbers

Take Control of Automating Your Mac

Photos for Mac: A Take Control Crash Course

Take Control of Parallels Desktop 12





More Articles by © Tony Lawrence





Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





UNIX does not allow path names to be prefixed by a drive name or number; that would be precisely the kind of device dependence that operating systems ought to eliminate. (Andrew S. Tanenbaum)




Linux posts

Troubleshooting posts


This post tagged:

Shell

UnixWords



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode