0
How to install locate in Ubuntu/Linux?
Posted by Joys of Programming on in Linux
updatedb generates an index of files and directories. GNU locate can be used to quickly query this index. (dpkg package description) To install this package in Ubuntu, You can use dpkg to know more about locate after installing it
find vs locate: Save your time
Posted by Joys of Programming on in C/C++
Both the commands: find and locate serve the same purposes- find file names. Then which one is a better option to search for files. But before moving on to telling the difference, let me tell you how locate command works The working of locate command. locate makes use of a database for its proper execution. [...]