lk/fundamentals/locating.md
2020-01-02 01:04:35 +01:00

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