The difference between Linux command options and arguments behind the pick of
When using the Linux command, sometimes behind you will follow the "option" (options) or "parameters" (agruments)
The command format is:
# In parentheses is optional
command [options] [arguments]
Some commands do not require options and arguments, while others require multiple options and parameters
Options are divided into two types:
The first: Short Option
For example: -h, -l, -s. (PS: - followed by the single letter)
1) use of short option '-' guide, when there are a plurality of short options, separated by spaces between options
2) short option some commands may be combined, for example: -lh => - lh
3) short options Some commands can be without the '-' , this is called a BSD-style, for example: ps aux
4) Some short options option parameters need to bring their own, such as: -L 512M
The second: long options
For example: - help, - list and so on. (PS: followed by the word)
1) long options are complete word
2) usually can not be combined
3) If you need to add parameters, parameters typically require long options "=", for example: - size = 1G
agruments (parameters):
Parameter refers to the role of the object command
For example ls command without parameters to display the current directory, you can also add parameters, such as: ls to view a directory name