macOS locate 命令报错解决方法
macOS 大约 497 字locate
locate
命令和find
命令功能相同,快速查找文件或文件夹。
错误信息
> locate docker
WARNING: The locate database (/var/db/locate.database) does not exist.
To create the database, run the following command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
Please be aware that the database can take some time to generate; once
the database has been created, this message will no longer appear.
解决方法
使用提示中的命令即可:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
阅读 39 · 发布于 2023-05-26
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
Prometheus+Grafana+blackbox_exporter 监控 HTTP TCP PING ICMP阅读 2247
-
JMeter 多用户不同 Cookie 压测接口阅读 2649
-
走进 Rust:Windows 环境搭建阅读 5279
-
Alpine Linux 包管理器 apk 设置镜像地址阅读 850
-
Java 并发编程之 AQS ReentrantReadWriteLock 读写锁源码解析阅读 946
-
Spring Boot Undertow 上传文件后没有可读权限阅读 5126
-
OpenResty lua-resty-auto-ssl: failed to set ocsp stapling for阅读 1919
-
IDEA 使用 Swing Explorer 调试 Swing 和 AWT阅读 2138
-
Linux 之 Ubuntu 安装 JDK 及 JRE阅读 2125
-
Spring Boot 代码中生成 MultipartFile 对象阅读 266