The Grymoire - home for UNIX wizards

Home Magic Search About Donate

Last modified: Fri Nov 27 09:38:15 2020

This page includes Bruce Barnett's tutorials on UNIX shell programming and various other arcane subjects of interest to wizards.

You might want to check out my blog

My twitter handle is @grymoire and I will gladly try to answer questions.

Note that I don't currently have a page on the bash shell because there is so much to cover. But the bash shell is a superset of the POSIX shell, so everything I have on this page applies to bash as well. Learn this first and get a gggood foundation on the basics that apply to nearly all shells.


Here's the directory containing all of my scripts


Most of these tutorials were written from 1989 - to 1995 for The Sun Observer. But I have been keeping them up to date the best I can.

Over the years I strive to make the pages compliant with the validation engines.

I'd give you my e-mail address, but frankly I think spammers should rot in hell. Therefore I'll give you my e-mail address in longhand form.
The domain is
The username is - tutorials
Put them together with an at sign between and you can reach me. An example might be username@domain or - notice the spambait.
All of the tutorials in this directory are protected by copyright. All rights are reserved. You can link to it, and print out personal copies of the tutorials, but you cannot re-distribute them to others without permission from me. Thanks!

Thanks to "Jesse Silverman" for some corrections.

You can buy me a coffee, please

I would appreciate it if you occasionally buy me a coffee

Click here to donate, and Thank you for the support

More References

Sculpting text with regex, grep, sed, awk, emacs and vim - MattMight

This page is Valid HTML 4.01!

These books mention my web site.

Books I co-authored

Books I recommend