|
|
|
|
|
by Adaptive
5302 days ago
|
|
This is hands down the best Bash resource online or in print. Don't let the "advanced" throw you off. It's the source of pretty much everything (of significance) that I know about bash. For other applications it makes sense to use your scripting language of choice (libraries, etc.) but in any situation where you need absolute portability or availability on an otherwise bare system, bash is the way to go. There are whole projects like the Arch Linux Installation Framework (AIF) written in bash for this reason. Named arrays, quick string handling and the [[ ]] test syntax alone make this worth reading, and that's just scratching the surface. |
|
http://tldp.org/guides.html
Unfortunately a lot of the stuff has not been updated in 5 yrs or so - but it is still fun to read through from time to time.
It is not exactly a BASH guide but another good guide is "UNIX for Poets" - I think there have been a number of news.ycombinator posts regarding it. This is a good intro for the text manipulation tools you would tend to use in a BASH script.
(see http://news.ycombinator.com/item?id=2456929 )