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

Tags: , ,

 
0

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. [...]

Tags: , , , , , , , ,

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.