lk/fundamentals/locating.md

389 B

Quick Search for Files

locate file*

Locate is fast because it only accesses a database of files which it regularly updates. You can update this with:

sudo updatedb

Whereis

whereis angband

... shows where the angband program is, along with configuration files, and binaries.

Also which shows where a binary file is, and type shows aliases.

which cmus

type cmus