Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker 诊断工具


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

扫描下方二维码关注公众号和小程序↓↓↓

扫描二维码关注我
昵称:
随便看看 换一批