Chapter Objectives
  • The meaning of variables and different types of shell variables
  • Writing shell scripts
  • Executing shell scripts
  • How to make shell scripts interactive using the read command
  • Positional parameters, their usage to read command line arguments and their manipulation
  • The exit status and performing various types of tests
  • Decision making and loop–control statements
  • Integer computing and string handling using expr
  • Performing real arithmetic
  • Debugging scripts
  • Recording a session using the script command
  • Having a working environment according one's taste using .profile

One of the important components of all Unix systems is the shell, which acts as a command processor as well as a programming language. We have ...

Get Introduction to Unix and Shell Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.