Chapter 7
Shell Scripting
This chapterâs learning objectives are
- To be able to write Bash shell scripts
- To know how to use variables and parameters in shell scripts
- To be able to write input and output statements in shell scripts
- To understand and write conditional statements in Bash
- To be able to properly apply selection statements in shell scripts
- To be able to properly apply loop statements in shell scripts
- To understand how to use arrays and string operations in Bash
- To understand the role of the function and be able to write and call functions in Bash
- To understand the differences between Bash and C-shell scripts
7.1 Introduction
Most computer programs are written in a high-level language (e.g., C++, Java) and then compiled into an ...
Get Linux with Operating System Concepts now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.