June 2025
Beginner to intermediate
473 pages
13h 30m
English
Now that you’ve had a chance to get a little acquainted with Bash or Zsh, the next sections will cover the basics. I am generally referring to Bash, but almost all of the information applies in the same way to Zsh.
One more note before things really get going: All the techniques explained in the following sections apply equally to the interactive use of Bash as well as to scripting!
In the simplest case—as in the backup example in the previous section—a script consists of a sequence of commands that are executed in sequence:
# Execute commands one after the othercommand1command2command3
You can also specify multiple commands, separated by semicolons, on a single line. This approach saves space ...
Read now
Unlock full access