Chapter 8


Shell Script




Shell executable commands can be executed sequentially by a shell script. By using this, it is possible to automate command input jobs. Let's learn the shell script technology which is needed for such a situation.



Contents of this Chapter


8.1 Shell and Shell Script
8.2 Programming
8.2.1 What is Program
8.2.2 Example of Program
8.2.3 Element of Program
8.3 Create Shell Script
8.3.1 Create Shell Script
8.3.2 Variable
8.3.3 echo Command
8.3.4 read Command
8.3.5 List Variables and Delete them
8.3.6 Option of Shell Script
8.4 Conditional Branch
8.4.1 if sentence
8.4.2 Multiway Branch
8.5 Repetition
8.5.1 for sentence
8.5.2 while/until Sentence
8.5.3 select Sentence
8.5.4 Repeat Control
8.6 Subroutine
8.7 Actual Shell Script
8.8 Debugging
8.8.1 Debugging
8.8.2 sh Command
8.9 Exercise
8.10 The chapter test


Previous Next