Page 1 of 1

You located a file created in /home successfully by using the slocate command. You found that the slocate command could

Posted: Sun Jun 11, 2023 3:58 pm
by answerhappygod
You located a file created in /home successfully by using the slocate command. You found that the slocate command could locate that file even after deletion. What could be the possible solution to stop listing deleted files? (Choose all that apply.)

A. Run updatedb to update the database.
B. Run slocate -u to update the database.
C. Use the locate command instead of slocate.
D. Delete the /var/lib/slocate/slocate.db file because it buffers all search results. E. Reboot the system so that it will update the kernel memory because the kernel stores all results in the memory.