Exploring Expressions and Variables

In the last chapter, you learned about how shell interprets any command that is entered into the Terminal or the command line. We also studied command substitution and separators in detail.

In this chapter, we will cover following topics:

  • Working with environment variables
  • Exporting variables
  • Working with read-only variables
  • Working with command-line arguments (special variables, set and shift, and getopt)
  • Working with arrays

Get Learning Linux Shell Scripting - Second Edition now with O’Reilly online learning.

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