"Ghost" output from locate?

Posted by Hailwood on Ask Ubuntu See other posts from Ask Ubuntu or by Hailwood
Published on 2012-09-24T00:27:42Z Indexed on 2012/09/24 3:50 UTC
Read the original article Hit count: 272

Filed under:
|
|

I deleted some files, but they seem to still exist. Can anyone please explain the output of this:

m@work:~$ locate cfx.css | xargs rm 
m@work:~$ locate cfx.css
/var/www/wfox/hbr.co.nz/cfx/a/c/cfx.css
/var/www/wfox/modules/gallery/cfx/a/c/cfx.css
/var/www/wfox/phoenix/fp.co.nz/cfx/a/c/cfx.css
/var/www/wfox/tmp.co.nz/cfx/a/c/cfx.css
m@work:~$ cat /var/www/wfox/hbr.co.nz/cfx/a/c/cfx.css
cat: /var/www/wfox/hbr.co.nz/cfx/a/c/cfx.css: No such file or directory

© Ask Ubuntu or respective owner

Related posts about files

Related posts about rm