Novell
050-720 · Question #104
Mark works as a Database Administrator for Net Perfect Inc. The company has a Linux-based network. Mark locates a file created in /home successfully by using the slocate command. He finds that the…
The correct answer is A. Run updatedb to update the database. C. Run slocate -u to update the database. See the full explanation below for the reasoning.
Question
Mark works as a Database Administrator for Net Perfect Inc. The company has a Linux-based network. Mark locates a file created in /home successfully by using the slocate command. He finds that the slocate command could locate that file even after deletion. Which of the following could be the possible solutions to stop listing the deleted files? Each correct answer represents a complete solution. Choose all that apply.
Options
- ARun updatedb to update the database.
- BDelete the /var/lib/slocate/slocate.db file because it buffers all search results.
- CRun slocate -u to update the database.
- DUse the locate command instead of slocate.
How the community answered
(24 responses)- A79% (19)
- B8% (2)
- D13% (3)
Community Discussion
No community discussion yet for this question.