next up previous contents index
Next: Redirecting input and output Up: Command Line Options Previous: Simple Commands   Contents   Index


You have probably typed in many commands with arguments. The arguments are what appears on the command line after the command. Here is an example of a command with an argument:

bash$ which whoami

In this example the command is which and the argument is whoami. This will respond by telling you where the whoami command is located. If you have two commands with the same name you can use the which command to figure out which one will run if you type the command.

Joseph Colton 2002-09-24