June 2017
Beginner
502 pages
11h 26m
English
The double dash usually stands for long options for a command. For instance, in the next example, we use the short option called -a and the long option called --all to enable the same behavior for ls; the long option being usually a more human readable form of the shorter one. While the short option starts with a single dash, the long option starts with a double dash:
zarrelli:~$ ls -a. .. dir2zarrelli:~$ ls --all. .. dir2
It is also used, as we saw a few pages ago, with the set command to set Bash options.
Read now
Unlock full access