BASH Quick Reference Card
December 31st, 2006There’s some good stuff about BASH on the web - I’d recommend (in increasing order of difficulty):
- 10 Seconds Guide to BASH Shell Scripting
- Linux Shell Scripting Tutorial - A Beginner’s Handbook
- BASH Programming Introduction and of course the definitive
- Advanced BASH Scripting Guide
However, what I haven’t been able to find is a simple reference card that just listed one way to do all the basics. Yes, I know there are ten different ways to do anything in BASH, and some of them are “very clever indeed”, but all I want is one simple way to write code, which I (or anyone else) will understand when I next look at it sometime in the distant future.
So, I decided to make the effort and create a two sided reference card. The idea is you print it on thin A4 card double-sided, fold into thirds, and there you have something to gather dust on your desk until you need it.
BASH Quick Reference Card in pdf (73k) or OpenDocument (22k) format
I hope you find it useful. Please let me have any feedback on anything which I have got wrong, or stuff you think would be a useful addition.

