System Grab Bag

View all TLDR pages from Linux (or from all pages)

locate

Find filenames quickly. More information: https://manned.org/locate.
  • Look for pattern in the database. Note: the database is recomputed periodically (usually weekly or daily):
    locate {{pattern}}
  • Look for a file by its exact filename (a pattern containing no globbing characters is interpreted as *pattern*):
    locate '*/{{filename}}'
  • Recompute the database. You need to do it if you want to find recently added files:
    sudo updatedb

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.

Other Projects

This TLDR page is also found in other projects: