One Day One GNU/Linux Command
=============================

locate -- Quick search for files

Summary :

Locate provides a secure way to index and quickly search for files on
your system. The index database to make searching faster and file
permissions and ownership info will give the security.

Example:

$ locate myfile -- Locate myfile in the DB and Print the path.

$ locate -i MyFile -- Same as above. But Case insensitive.

$ locate -q myfile -- Run in Quiet Mode.

$ locate -n 10 myfile -- Limit the no. of results shown to 10.

# locate -U mydir -o myDB -- Create index DB starting at path mydir 
                             and store the index file in myDB.

Read: man locate

HTH :)
--
Bharathi S

_______________________________________________
To unsubscribe, email [EMAIL PROTECTED] with 
"unsubscribe <password> <address>"
in the subject or body of the message.  
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to