Ask Question

Which one of the following UNIX utilities is purpose-built to quickly return the location (filepath) of files by querying a database of previously-found files and simply returning what's in that database? A separate program runs periodically to update the database.

a. locate

b. find

c. sudo

d. grep

e. chsh

+1
Answers (1)
  1. 31 January, 12:53
    0
    a. locate

    Explanation:

    locate utility in Unix is used to quickly return the filepath of the file searched for. find also used to do the same work but it is not as fast as locate.

    locate is faster than find because it does not read the filesystem to search the file infact it refers to the database to search the file and produces it's output and the database is created by updatedb command.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which one of the following UNIX utilities is purpose-built to quickly return the location (filepath) of files by querying a database of ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers