LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 07-13-2012, 08:30 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,601

Rep: Reputation: 118Reputation: 118
LXer: Find files on Linux with the command locate


Published at LXer:

I just realized that I’ve never wrote anything about one of my favorite commands on the Linux shell: locate.This command take as input the name (or part of it) and instantly it gives you all the locations where that file is located, an alternative to this could be to use the command find, but there is an huge difference in the time that takes find to search large file systems in comparison to a locate, this difference is given from the fact that locate uses his own database where it stores all the file names, while find scan the directory and looks for the file name you have given as input.

Read More...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Find files on Linux with the command locate LXer Syndicated Linux News 0 07-13-2012 03:31 AM
[SOLVED] How to use find command to locate files linuxandtsm Linux - Newbie 4 03-30-2012 10:00 AM
difference between find and locate command sandeep002gupta Linux - Desktop 1 05-09-2011 04:16 AM
Wat is main difference between find and locate command. rktech83 Linux - General 1 03-08-2006 07:38 AM
Using FIND to locate files created between certain dates billybobjoe1984 Programming 6 07-23-2005 06:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration