Click Here to buy the full 86-page PDF for only £4.99, $9.99 or €6.99, or the Kindle eBook or Paperback (UK here - more countries and details here)

Check out for regular fun and tips.
A Bourne Shell Programming/Scripting Tutorial for learning about using the Unix shell. Learn Linux / Unix shell scripting by example along with the theory. I'll have you mastering Unix shell scripting in no time! Available right here on the World Wide Web.

Version: 1.2j © 2000 - 2016 Steve Parker.
Mail To: steve at
Canonical URL:
Comments Welcome.
You are free to take copies of these pages for personal use.
Last Updated: 28th April 2016


  1. Intro
  2. Philosophy
  3. A First Script
  4. Variables - Part I
  5. Wildcards
  6. Escape Characters
  7. Loops
  8. Test
  9. Case
  10. Variables - Part II
  11. Variables - Part III
  12. External Programs
  13. Functions
  14. Hints And Tips
  15. Quick Reference
  16. Interactive Shell
  17. Exercises

Steve Bourne (author of the Bourne Shell) says:
"he probably knows more about it than I do"

Doug Kramer ( says:
"I highly recommend it as accurate and written at the right level, plus it includes a useful reference"


This tutorial, in Paperback and Kindle formats, is available on Amazon and elsewhere
You can also get this tutorial in PDF format (sample) via PayPal directly from me - Click Here for the 86-page PDF, or Click here for the Paperback or Kindle formats.

My 584-page book, Shell Scripting: Expert Recipes for Linux, Bash and more, is available from all the usual book stores. Written by myself, it centres primarily on Bash and Linux, including many richer features which this tutorial deliberately stays away from for the sake of brevity and compatibility.

You can find (and preview, and buy) All of Steve Parker Publications here.

Steve's Bourne / Bash shell scripting tutorial
Share on Twitter Share on Facebook Share on LinkedIn Share on Share on StumbleUpon
My Shell Scripting Book:
    Shell Scripting, Expert Recipes for Linux, Bash and more
is available online and from all good booksellers: