Bash in easy steps


Buy direct from us:

In Stock

SKU: 8099

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

192 pages
By: Mike McGrath
Publication Date: February 26th, 2019
ISBN: 9781840788099

View or download first chapter and Table of ContentsFREE!

ebook (PDF) 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
Freely download the original source code for checking against your own work from our Downloads page

Reviews from Amazon readers:

5 stars Just what I needed…
I was looking for something like this especially when I got a couple of recycled Linux-based laptops. Almost like the old DOS commands in the old pre-Windows days! LOL!

5 stars Absolutely the best starter book to learn Bash.
I love In Easy Step series of books. And this one is my favorite. I purchased it to help teach my niece a 1st grader Bash. It is so well written that a 1st grader can understand with a help of a teacher. It’s not just for kids. It’s great for all age ranges. It’s simple to understand. It starts from basic commands on ls, making directories, using find, compression, to basic script writing. 5 stars!

You may also like…