If locate command is not installed, you can easily install it using the package manager of your distro. Otherwise, it will return something like locate command not found. If it is installed, the system will display locate: no pattern to search for specified. To check whether the locate utility is installed, open up your terminal, type locate and press Enter. Installing locate commandĭepending on the Linux distribution and how the system is configured, the locate package may or may not be pre-installed on your Linux system. When using the locate search command for the first time that is, if you have just done setting up your Linux OS such as Ubuntu, you need to install the command before it can be found to return results for any search you want to do. The locate command is the quickest and simplest way to search for files and directories by their names. The first command on our list is the locate command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |