September 2018
Beginner
186 pages
4h 30m
English
There are some tasks for which shell scripting in general, and Bash in particular, are especially well-suited:
Prototyping: Short Bash programs are quick and easy to write. It's quite common to "hack together" a simple script in Bash for later replacement by a script or program in a more advanced programming language that requires more effort to write and maintain.
Interactive system administration: A Bourne-style shell is assumed in very many contexts in Unix, and almost all of the system documentation you read will tell you to issue commands in a Bourne-style shell. This makes it a natural choice for a scripting language.
Automation: If you have a set of commands you often run together, making a script ...
Read now
Unlock full access