Articles on: VPS

How Can I Search My Entire Server For a File?

You can use the locate command to find any file on the server. See the example below.

[root@localhost:~]$ locate viminfo

If the locate command complains about no locatedb run the command below to update the locate database.


Updated on: 07/01/2023

Was this article helpful?

Share your feedback


Thank you!