LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2006, 02:08 PM   #1
mihalisla
Member
 
Registered: Jun 2006
Location: greece
Distribution: ubuntu 6.06 amd64
Posts: 132

Rep: Reputation: 15
locate command problem


Hello ,I use suse 10 for 64 bit platform and when i write in the terminal "locate_something" it says command not found.
1.Should i be in the directory I'm looking in???
2.If 1 wasn;t the problem how can I fix it?

Thanks
 
Old 06-27-2006, 02:39 PM   #2
spirit receiver
Member
 
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

Rep: Reputation: 33
You'll have to type "locate something".
 
Old 06-27-2006, 02:39 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Did you mean "locate_something" literally? That is definitely not a command....

The syntax is locate <filename>
It is typically used to locate executable files
You will often need to first run "updatedb" to update the database

"man locate" for more details
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Locate command matt1982 Linux - General 3 01-08-2005 11:22 PM
How to use locate command MartinOG Linux - Newbie 3 06-07-2004 01:59 PM
using locate command stabu Linux - Newbie 6 03-26-2004 04:13 AM
What command will locate a particular.. cbjhawks Linux - General 1 03-21-2004 08:07 AM
locate command not present?? shaggy112 Linux - Software 3 07-23-2003 04:33 PM


All times are GMT -5. The time now is 08:41 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration