Comments on Linux Locate Command for Beginners (8 Examples)

While find is no doubt one of the most popular as well as powerful command line utilities for file searching in Linux, it not fast enough for situations where-in you need instantaneous results. If you want to search a file on your system through the command line, and speed is the top most priority, then there's another command that you can use: Locate.

2 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Piotr at: 2019-03-22 10:03:27

I think that -as per point1 - that will not work like this, because it will find every files that have 'dir' string somewhere in its path.

By: Guy at: 2022-06-05 20:24:51

Does sudo updatedb incluse attached usb drives?