What this book covers
Chapter 1, The What and Why of Scripting with Bash, will introduce Linux shells, how to write your first shell script, how to prepare your editor, how to debug your shell script, and some basic bash programming, such as declaring variables, variable scope, and command substitution.
Chapter 2, Creating Interactive Scripts, covers how to read input from the user using read command, how to pass options to your script, how to control the visibility of the entered text, and how to limit the number of entered characters.
Chapter 3, Conditions Attached, will introduce the if statement, the case statement, and other testing command such as else and elif.
Chapter 4, Creating Code Snippets, covers creating and using code snippets ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access