LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 08-03-2003, 07:55 AM   #1
m_a
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Question locate command shows some files which are not listed by ls ....


hi 2 all
I installed apache-2 and php-4 as it was mentioned in their
manuals .

they worked with eachother properly , i just wanted to repeat the proccess in order to get more familiar with the installation steps and new features, so i deleted the installed files by rm and rmdir commands, but still after runing

" locate php
locate apache"

there are directories named "php" and "apache".
when I change directory to the paths , I got error message that

" thre is not such a file or directry" !!!!!

I also checked the path with "ls -al"l commands there are no such a directories but still the output of locate commands shows these directories.

any idea ?!!!!!!!!!!!
m_a
 
Old 08-03-2003, 08:01 AM   #2
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
as root do

updatedb

wait till it finishes then do locate again
 
Old 08-03-2003, 08:10 AM   #3
m_a
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Original Poster
Rep: Reputation: 0
thanks a million
 
  


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-09-2005 12:22 AM
Transferring 40000+ files with FTP (mget) shows 0 files tim1235 Linux - Software 5 10-17-2004 07:06 PM
Multiple /dev/hda1 's listed after a 'df' command (up to 50-60) hmschouten Linux - General 4 04-02-2004 04:07 PM
using locate command stabu Linux - Newbie 6 03-26-2004 05:13 AM
What command will locate a particular.. cbjhawks Linux - General 1 03-21-2004 09:07 AM


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

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