Which command

From Linux Shell Scripting Tutorial - A Beginner's handbook
Jump to navigation Jump to search

The which command takes a list of command names and searches the path for each executable file that would be run had these commands actually been invoked.


The syntax is as follows:

which command1 command2 commandN


Find out date, and ls command path: