Bash in easy steps – ebook (PDF) version


(+ VAT/tax where applicable)

Buy direct from us:

In Stock

This book will show you how to use the Bash command-line interface and how to employ Bash’s programming abilities

By: Mike McGrath
Publication Date: February 2nd, 2019

View or download first chapter and Table of ContentsFREE!

Information about In Easy Steps ebooks and PDFs, terms and conditionsplease read before purchasing

Paperback version also available

The “Bourne Again SHell” (Bash) is a powerful command-line shell interface that lets you communicate directly with the kernel at the heart of a computer’s operating system for total control. Bash is the default shell for Unix-based operating systems Linux, Mac OS X, and Raspbian on Raspberry Pi devices, and is also available to Windows users on the Windows Subsystem for Linux (WSL).

Bash in easy steps begins by demonstrating Bash commands for system navigation and file manipulation, so you will quickly become familiar with the command-line interface. It explains all the Bash basics before moving on to describe advanced features such as command history, command-line editing, and environment customisation. The book then introduces Bash programming with examples of flow control, command switches, input/output, and debugging – allowing you to create your own executable programs by copying the examples.











Bash in easy steps has an easy-to-follow style that will appeal to:

  • Users who are completely new to Unix-based operating systems
  • Casual users who wish to expand their knowledge of their computer system
  • Those who would like to learn coding skills by writing useful shell scripts
  • The student who is studying programming at school or college
  • Those seeking a career in computing and need a fundamental understanding of the BASH interpreter on Unix-based operating systems

Complete examples illustrate each aspect with colourized source code, and full-colour screenshots depict the actual output.








About the author

Mike McGrath now lives in South-east Europe, on the sun-kissed shores of the Aegean Sea. Mike gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. His interests include coins of ancient Greece, dining-out with friends, and the ongoing evolution of the world wide web.

  1. Getting Started
  2. Managing Files
  3. Handling Text
  4. Editing Commands
  5. Customizing Environment
  6. Controlling Behavior
  7. Performing Operations
  8. Directing Flow
  9. Employing Functions
  10. Handy Reference