Introduction to Linux shell commands
Chapter 1: Introduction
Command Parsing
To pass a command simply type it out in terminal and press enter! The first token is the command whereas the remaining tokens are the arguments to the command. Lets demonstrate this with an example.
echo Hello world!
So here echo
is the command and Hello world!
is the argument(s). What does this command do? Well for any command you can check out the documentation by running the man
command (short for “manual”) followed by parsing the command that you are interested in as an argument. For example to inspect the echo
documentation run:
man echo
note: type q
to quit!