cannot remove named folder

i manually remove named folder and its content using rm -rvf named
the verified
but when i use locate name | less

i see it again in the list.

Is it a cache or something else how could i remove it from locate database.
 
It's not cache. Simply locate database is not rebuilt in every minute. Refresh the database manually if you want changes to be reflected immediately.
 
i also found a solution
[CMD="/usr/libexec/locate.updatedb"][/CMD]

for updating the database every day at 9:15 am

In /etc/crontab

Code:
15 9 * * * root /usr/libexec/locate.updatedb

for updating the database every day at 9:15 am

Thanks to all
 
Back
Top