Update the index Library: $ locate string contains the string to find the path: $ updatedb

Update the index Library:

$locate string

Looking for a path string contains:

$updatedb

Unlike find, locate not real-time search. You need to update the database, index file to get the latest information.

Guess you like

Origin www.cnblogs.com/xuanbjut/p/11715569.html