Find command
locate file name
Example
~ $ locate glog
/home/yqs/.cmake/packages/glog
/home/yqs/.cmake/packages/glog/489b861d87ea25795bc18d8964376f65
/home/yqs/.cmake/packages/glog/7d736a498d56259876d4416da6706b9e
/home/yqs/Desktop/glog
/home/yqs/Desktop/test_glog
/home/yqs/Desktop/test_glog_gflags
Precautions
After deleting or adding files, you need to update locate, the command is as follows:
sudo updatedb
to sum up
The above is the locate file search command in Ubuntu 16.04 introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message. The editor will reply to you in time. Thank you very much for your support to the ZaLou.Cn website!
Recommended Posts