nerdexam
Novell

050-720 · Question #150

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 B. Run slocate -u to update the database. D. Run updatedb 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

  • AUse the locate command instead of slocate.
  • BRun slocate -u to update the database.
  • CDelete the /var/lib/slocate/slocate.db file because it buffers all search results.
  • DRun updatedb to update the database.

How the community answered

(43 responses)
  • A
    12% (5)
  • B
    84% (36)
  • C
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 050-720 Practice