Linux -bash: locate: command not found
Linux locate 大约 208 字错误原因
未安装locate
。
安装 mlocate
yum -y install mlocate
其他错误
在首次执行locate xxx
时报以下错误
locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory
解决办法:执行updatedb
命令,更新locate
维护的数据库。(有点耗时)
updatedb
阅读 784 · 发布于 2021-03-08
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
Angular 相关知识点阅读 411
-
HTML 中使用 datalist 标签给输入框添加下拉框选项阅读 4019
-
MySQL Can't open the mysql.plugin table. Please run mysql_upgrade to create it阅读 2686
-
OLTP 与 OLAP阅读 3557
-
软考-系统架构设计师:关系代数阅读 1842
-
Nginx 配置之隐藏版本号阅读 1807
-
Java 并发编程之 AQS ReentrantLock 公平锁源码解析阅读 1244
-
Spring Boot OpenFeign IllegalStateException: RequestParam.value() was empty on parameter 0阅读 410
-
Kubernetes Service 对外提供访问阅读 879
-
Nginx 之基础命令阅读 1642