Difference between slocate and locate cmd's
Out of curiousity, can someone explain the difference between using the 'slocate' and the 'locate' commands?
|
AFAIK the main difference is that slocate doesn't index the directories and files you don't have access to so doesn't throw up auth errors like locate
|
On my system, they are the same:
Code:
tgar@vaio:~$ ls -l /usr/bin/locate |
That's true - locate links to slocate. It is a replacement for locate used by almost all new distros
|
All times are GMT -5. The time now is 01:39 AM. |