December 2018
Beginner
452 pages
12h 17m
English
Command verbosity is an interesting one. In the previous chapters you were introduced to a lot of commands, sometimes with accompanying flags and options that alter the functioning of that command. Most options have both a short and long syntax that accomplishes the same thing. The following is an example:
reader@ubuntu:~$ ls -R.:emptyfile scripts textfile.txt./scripts:chapter_07./scripts/chapter_07:hello-world-improved.sh hello-world.shreader@ubuntu:~$ ls --recursive.:emptyfile scripts textfile.txt./scripts:chapter_07./scripts/chapter_07:hello-world-improved.sh hello-world.shreader@ubuntu:~$
We use ls to recursively print the files in our home directory. We first use the shorthand option -R, and right after the long ...