Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-03-2003, 06:55 AM   #1
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 ?!!!!!!!!!!!
Old 08-03-2003, 07:01 AM   #2
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
as root do


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

Original Poster
Rep: Reputation: 0
thanks a million


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
Transferring 40000+ files with FTP (mget) shows 0 files tim1235 Linux - Software 5 10-17-2004 06:06 PM
Multiple /dev/hda1 's listed after a 'df' command (up to 50-60) hmschouten Linux - General 4 04-02-2004 03:07 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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:53 AM.

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