According to this article, I can use this command:
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.locate.plist
To enable "locate" command to find files. However, recently I find this command not useful anymore and want to shutdown the background service/daemon. Does anyone have ideas about how to disable it or shutdown it? Thanks!
locate
command's database. Not disable thelocate
command from running entirely. – jnovack Oct 2 '20 at 14:36