How do I install Locate command?

How do I install Locate command?
Answer
To install mlocate, use the YUM or APT package manager as per your Linux distribution as shown. After installing mlocate, you need to update the updatedb, which is used by locate command as root user with the sudo command, otherwise you will get an error.
 

Tìm kiếm

Back
Top