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

2003/11/18 locate


© 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).


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





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com