10.7 Commands Related to Program Execution
10.7.1 “which” Command – Check Path Name of Executable File
The “which” command tells you what program is actually being used when executing certain command on the system. In fact, many programs are installed in many places in the system, so it is often difficult to judge which program is actually used. The “which” command is used in this case.