LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices

Reply
 
LinkBack Search this Thread
Old 07-13-2012, 03:31 AM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 63,900

Rep: Reputation: 77
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[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
locate command shows some files which are not listed by ls .... m_a Linux - Newbie 2 08-03-2003 07:10 AM


All times are GMT -5. The time now is 09:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration