O'Reilly logo

Introduction to Unix and Shell Programming by M. G. Venkateshmurthy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8

SHELL PROGRAMMING

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required