Bash Scripting

Hello was wondering if anyone has any good recommendations on sources for learning to bash script. I already have quite a lot of Linux experience just want to expand to making more scripts.

Here you go! :) http://linuxcommand.org/lc3_writing_shell_scripts.php

I used this too and it is pretty helpfull to get started with.

Noice. The following links will turn you into a Wizard.

1 Like

http://www.tldp.org/LDP/abs/html/
I've used this since i first started using Linux up till today for a quick reference with my job. Hope i helped you out a bit

cheers for the information guys really helps :)

And when you're done, drop those sh into crontab. :D

Linux Command Line & Shell scripting Bible
Linux Shell Scripting Cookbook
Pro Bash Scripting
Command Line Kung Fu

Great books

https://forum.teksyndicate.com/t/pc-technical-website-reference/98012

This is why I made this...

A super well done reference is hard to come by, but I've had decent luck googling specific things (ie bash for loop). If you know the nomenclature there's usually a well-done stackexchange post in the first google page.

Also, comment your scripts! My scripts are more comments and notes about the different options than anything else, since I might not look at them for a year and when I do, there's usually some emergency, heh. Particularly when you use sed and awk and stuff like that, the syntax is horrid.