Open source software supply chain lighting plan, waiting for you>>>
Some versions of Linux system use locate to quickly find a file path, which will report the following error:
[html]
view plain
copy
– bash:locate :commandnotfound
The reason is that mlocate is not installed
Install: Yum – y install mlocate
After the installation, try to locate the content with locate, and find that it still doesn’t work well. A new error is reported
[html]
view plain
copy
locate:cannotstat ()`/var/lib/mlocate/mlocate.db’:Nosuchfileordirectory
The reason is that the library was not updated after installation
Update library: updatedb