Linux: Searching for files with locate command

Easy method with locate command The easiest way is to use locate and find the file you want. Example: root@bt:/# locate mp.sh /home/passwd/mp.sh /usr/bin/mp.sh There are times when you cannot search file with locate program, this is because the path database of the file is not updated. You can invoke the update using updatedb command. … Continue reading Linux: Searching for files with locate command

Advertisement