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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.