22 May 2004
Links to shell websites
From beginner to advanced, from tips to reference documents, here are links to a wide variety of web pages relevant to shell scripting.
Introductions to shell scripting
- Writing Shell Scripts
- Steve's Bourne Shell Programming Tutorial
- Bourne Shell Programming By Robert P. Sayle
- Linux Shell Scripting Tutorial
- Michael Paoli's Introduction to Shell Programming
- Bash by example
- LINUX: Rute User's Tutorial and Exposition, Shell Scripting
- Bash Guide for Beginners
- An Introduction to the Unix Shell by Steven Bourne
Wikis
Intermediate and advanced scripting
- Bruce Barnett's tutorials on UNIX shell programming
- Answers to Frequently Asked Questions from comp.unix.shell
- Paul Jarc's shell constructs page
- What to watch out for when writing portable shell scripts
- Shell scripting mistakes
- Advanced Bash-Scripting Guide (outdated and often innacurate — it is best avoided)
- Rich’s sh (POSIX shell) tricks
- 9 Lethal Linux Commands You Should Never Run
Shell Quoting
- A Guide to Unix Shell Quoting
- Consultix Shell Quoting Guidelines
- UNIX SHELL Quote Tutorial
- The Open Group Base Specifications (IEEE Std 1003.1) -- 2.6 Word Expansions"
Reference
- Single Unix Specification: Shell & Utilities
- An A-Z Index of the Bash command line for Linux
- Bash Reference Manual
Collections of scripts
Scripting philosophy and essays
- The Architecture of Open Source Applications: The Bourne-Again Shell
- Opening the software toolbox
- Shell Programming Considered Harmful by Stéphane Chazelas
- The art of writing Linux utilities by Peter Seebach
- Portable Shell Programming (with special reference to autoconf)
- Characteristical common properties of the traditional Bourne shells
Shell Home Pages
- Bash
- The Korn Shell (includes man pages for ksh88 and ksh93 and a FAQ).
- pdksh — the Public Domain Korn Shell
Regular Expressions, sed
and awk
- Regular Expressions by Guido Socher
- Using Regular Expressions by Stephen Ramsay
- Regular Expression HOWTO (Python specific, but the basics are the same)
- egrep - Extended Regular Expressions
- Awk FAQ by Russell Schulz
- Sed — an introduction
- sed FAQ
- Handy one-liners for sed (Unix stream editor) compiled by Eric Pement
- Eric Pement's sed page (where you can download various seds for different platforms)
- sed manual
- Awk Community Portal
Unix Utilities
The History of the Shell
- History of Unix shells
- Steven Bourne's Introduction to the Unix Shell
- Why do some scripts start with #! ... ?
- Which came first?
- The Traditional Bourne Shell Family
- Extract from David Korn's "ksh - An Extensible High Level Language"
Interviews
- Steven Bourne
- David Korn
- Chet Ramey
- Alfred V. Aho (the A in AWK)
Web Forums
- LinuxQuestions.org Programming forum
- Unix.com: Shell Programmming and Scripting Q&A
- Unix.com: UNIX for Dummies Questions & Answers
- Unix.com: UNIX for Advanced & Expert Users
Miscellaneous
What about csh
?
Modified 15 Aug 2015