What are some good bash tutorials? I would like to learn more about the bash shells commands and how to use them.
Asked
Active
Viewed 1,758 times
4 Answers
19
Advanced Bash Scripting Guide from The Linux Documentation Project pages.
(Also available as a PDF file if you prefer that).
- Recommended online resources for learning bash scripting
- How to learn your way through Linux’s shell
General search tags:
- Stackoverflow: bash+scripting, bash+script
- Serverfault: bash+scripting, bash+script, etc
- Command Line Fu -- for quick tricks (think of them as short tutorials)
Empty at this time... :-)
- Superuser: bash+scripting, bash+script
But, don't go by that.
-
I don't know exactly why, but I think that the Advanced Bash Scripting Guide is very unfriendly. I never found an answer in that guide. Greg's wiki, and especially the FAQ, as mentioned by spatz, are great for beginners. – mrucci Apr 30 '10 at 18:33
-
@mrucci, On the contrary, I can remember a large number of times looking up things directly in the guide with Google searches. Meanwhile, Greg's Wiki links referred by `spatz` are good too. – nik May 01 '10 at 02:46
-
Yes, the problem is that every time I search google for "bash [something]" I found and follow the ABSG link but very rarely I found an answer in the cryptict, badly organized and presented material. – mrucci May 01 '10 at 07:08
-
Well, there is at least one person finding TLDP ABS Guide less useful -- So, I'm up-voting `spatz's` answer too... – nik May 01 '10 at 08:24
6
I find Greg's Bash Guide and Bash FAQ very helpful, even for beginners.
Also, I remember learning bash from Daniel Robbins' series, Bash by example, which is a very good read in my opinion.
drrlvn
- 6,155
- 2
- 21
- 11
2
If you don't mind to pay for the best resources in book format:
- http://oreilly.com/catalog/9780596526788/ (Bash Cookbook)
- http://oreilly.com/catalog/9780596009656/ (Learning Bash - slightly outdated)
- http://oreilly.com/catalog/9780596527761/ (bash Quick Reference - I do use it frequently...)
- http://oreilly.com/catalog/9780596003302/ (Unix power tools - OK, not only bash. But it's a must have)
Zsolt Botykai
- 697
- 1
- 7
- 16
-1
This is a great video tutorial for command line editing: http://teachmetocode.com/screencasts/bash-command-line-editing/
Doug Harris
- 27,333
- 17
- 78
- 105