Ask Question
Today, 01:04

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

+2
Answers (1)
  1. Today, 02:01
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers