Saturday, December 14, 2013

bash: locate: command not found

bash: locate: command not found

1. yum install mlocate*
2.  locate filename

    locate: can not open `/var/lib/mlocate/mlocate.db': No such file or directory

3. updatedb

4. locate filename.will display the file location.






No comments: