Neat Tricks with Shell Scripting

In the last chapter, you learned about shell and environment variables. You also learned how to export environment variables, read-only variables, command-line arguments, and create/handle arrays.

In this chapter, we will cover the following topics:

  • Interactive shell scripts and reading from the keyboard
  • Using the here operator (<<) and here string (<<<)
  • File handling
  • Enabling debugging
  • Syntax checking
  • Shell tracing

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.