Ask Question
23 February, 18:36

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

0
Answers (1)
  1. 23 February, 19:07
    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?
Get 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 there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers