Read this: I am really keen on sharing this knowledge with you in whatever format is most useful for you.
Click Here to buy the full 85-page PDF for only £4.99, $9.99 or €6.99, or the Kindle eBook or Paperback (UK here - more countries and details here)

Have you come to find out about ShellShock? Click here
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.2i © 2000 - 2014 Steve Parker.
Mail To: steve at steve-parker.org
Canonical URL: http://steve-parker.org/sh/sh.shtml
Comments Welcome.
You are free to take copies of these pages for personal use.
Last Updated: 27th Oct 2014

Contents

  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 (Java, Google.com) says:
"When I started writing CGI script in Bourne shell on the Java team at Sun, I scoured the Internet for a good tutorial and used Steve Parker's guide, which I really like. Now that I've moved to Google and switched to Linux and bash, I've decided to use it as the basis for an in-house introductory course on bash scripting here at Google for our tech writers. I highly recommend it as accurate and written at the right level, plus it includes a useful reference"



Feedback

Links To Other Resources

Shell Scripting Recipes by Steve Parker
You can also get this tutorial in PDF form: Click Here for the 85-page PDF or you can order the 600-page book:
http://www.wiley.com/buy/1118024486
Steve's Bourne / Bash shell scripting tutorial
Share on Twitter Share on Facebook Share on LinkedIn Share on Identi.ca Share on StumbleUpon

Get the Book:

Buy my 600-page Shell Scripting Book...


Or from other Amazon in other countries: USA, Germany, France, Spain, Italy, Canada, Japan, India, Brazil
Or from other retailers

Buy this Tutorial in Paperback or for Kindle:


USA, UK, Germany, France, Spain, Italy
Or Kindle in these countries: Canada, Australia, Japan, India, Brazil, Mexico

Buy this Tutorial as a DRM-Free PDF

(Free Sample)

$9.99 US Dollars

£4.99 UK Pounds

€6.99 Euros

You can join our Shell Scripting community on Facebook:

DefectiveByDesign.org