Command notations
You will see this notation in many places.
When reading command documentation, you will see notations representing various conditions. Not every command must be copy-pasted, some needs to change values depending on what do you want.
>>> Input
>>> Input
In some interactive shells, you will have this symbol (>>>
) at the start of your cursor, it means the software is waiting for user input. In documentation, it means something you should write.
It can also be like >
or $
.
<Placeholder>
<Placeholder>
Represents a value for which you must supply a value.
For example:
You need to fill the place where <file>
is with your own value.
[Optional]
[Optional]
Represents a value for which you can supply a value or leave empty.
For example:
It's not necessary to put something in [file]
.
{Mutually|Exclusive|Values}
{Mutually|Exclusive|Values}
Represents a placeholder for which you must select one item of that list.
For example:
You should select only one value in that placeholder.
--option
--option
Some commands let you add options (or flags) to change behavior. It can be with 1 dash (-
) or 2 (--
). Every command has their own way.
The --help
or -h
flag is very common in almost all commands. It shows information about the usage of a command. Use it everywhere you can.
Last updated