April 1995
Intermediate to advanced
160 pages
4h 45m
English
The which program tells you what version of a program comes first in your search path. For example:
% which ls /usr/bin/ls
This tells me that I’m using the version of ls that is installed in /usr/bin.
If you have an alias defined, which reports the alias instead, so you can use it as a general all-purpose tool to learn what’s going on. For example:
% which ls ls: aliased to ls -aCF
Read now
Unlock full access