Bash Guide for Beginners

Bash Guide for Beginners

Bash Guide for Beginners

Author Machtelt Garrels
Format online HTML
Price free

The primary reason for this document is that a lot of readers feel the existing  HOWTO to be too short and incomplete, while the Bash Scripting guide is too much of a reference work. There is nothing in between these two extremes. It was also written on the general principal that not enough free basic courses are available, though they should be.

This is a practical guide which, while not always being too serious, tries to give real-life instead of theoretical examples. It was partly written because the author doesn’t get excited with stripped down and over-simplified examples written by people who know what they are talking about, showing some really cool Bash feature so much out of its context that you cannot ever use it in practical circumstances. You can read that sort of stuff after finishing this book, which contains exercises and examples that will help you survive in the real world.

From the author’s experience as a UNIX/Linux user, system administrator and trainer, he knows that people can have years of daily interaction with their systems, without having the slightest knowledge of task automation. Thus they often think that UNIX is not user friendly, and even worse, they get the impression that it is slow and old-fashioned. This problem is another one that can be remedied by this guide.

Chapters include:

  • Introduction
  • Bash and Bash scripts
  • Writing and debugging scripts
  • The Bash environment
  • Regular expressions
  • The GNU sed stream editor
  • The GNU awk programming language
  • Conditional statements
  • Writing interactive scripts
  • Repetitive tasks
  • More on variables
  • Functions
  • Catching signals

Read Mirror Buy Print Edition (paid link)

As an Amazon Associate I earn from qualifying purchases made through Amazon links appearing on this website.

Leave a Reply

Your email address will not be published. Required fields are marked *