-   Linux - Newbie (
-   -   ls -a doesn't show the file that exists (

pratapmaddi 09-10-2009 02:34 AM

ls -a doesn't show the file that exists
we have installed vignette software on the linux box and would like to uninstall it. To uninstall it we need to delete one file named When we used locate, the file is found in 2 places. But when we used the ls -a in those locations the file is not seen. basically we want to remove that file. If we do rm, this also doesn't work.
Also when we used find -H the file is not found. What is wrong here. I am sure the file will be added to file system as part of vignette. Can anyone suggest what could be wrong here.

We logged in as root user to remove this file.

Installation is done twice using root and vignette user ids. Thats why file is located in 2 places.


druuna 09-10-2009 02:45 AM


Is the database that locate uses up-to-date? Use updatedb (probably as rootuser, but that depends on how things are setup) to refresh/update the database.

Another way of looking for this file would be (as root):

cd /
find . -iname ""

Hope this helps.

estabroo 09-10-2009 09:25 AM

Are you sure its not already deleted and just waiting for a process to release it? Do an lsof | grep ""

i92guboj 09-10-2009 09:31 AM

As druuna implies, the locate/slocate/mlocate database is not "live". It is refreshed usually once a day via a cron job, so it doesn't necessarily reflect the status of your file system. If the file is not there, don't worry. Just do run updatedb and locate should stop reporting that matches.

All times are GMT -5. The time now is 03:20 AM.