The locate file search command in Ubuntu16.04

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

The locate file search command in Ubuntu16.04
ubuntu command line search
ubuntu unzip the rar file
Overview of the Ubuntu file system
The apt-get command of Ubuntu basic tutorial
Install Ubuntu 18.04 in the virtual machine VMware
Disable the TinkPad touch screen in Ubuntu
Docker those things in the Ubuntu environment
Use the command to solve the Ubuntu projector problem:
How to use dpkg command in Ubuntu system
How to open the ubuntu system in win10
The consequences of uninstalling python in ubuntu, very
Introduction to the use of Hanlp in ubuntu
Mount the disk in a directory under Ubuntu 18.04
Turn off and turn on the firewall in ubuntu
Use the command line to detect the Ubuntu version method
The difference between CentOS and Ubuntu in Linux system
Resolve the problems encountered in the linux environment under ubuntu
Install mysql-pytho in Ubuntu
Nagios3 in ubuntu serve
Ubuntu16.04 common command notes
Use supervisor in ubuntu
Install python in Ubuntu
Install JDK in Ubuntu19.10
How to control the ubuntu system in win10 through ssh
The problem of MySQL import file failure in CentOS environment
Mac uses vnc to remotely log in to the ubuntu16.04 desktop
Detailed steps to automatically set the line number in ubuntu16.04
Encountered in the process of building a virtual environment in ubuntu