Skip to content

Instantly share code, notes, and snippets.

@boywijnmaalen
Last active April 16, 2018 05:06
Show Gist options
  • Select an option

  • Save boywijnmaalen/2e585bcea56b97ffb1419ab359a6c1ac to your computer and use it in GitHub Desktop.

Select an option

Save boywijnmaalen/2e585bcea56b97ffb1419ab359a6c1ac to your computer and use it in GitHub Desktop.
locate update file location database
# update the file database
$ sudo /usr/libexec/locate.updatedb
# If you would like to have the command updatedb to get a more consistent behavior between your Linux and Mac environment you can symlink it to /usr/local/bin.
$ ln -s /usr/libexec/locate.updatedb /usr/local/bin/updatedb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment