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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899559
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!

This question has been solved and has 1 reply.

You must be registered to view answers and replies in this topic. Registration is free.


Register Login
 
Post Reply