Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

I have been using GNU/Linux for sometime now (Ubuntu and Fedora) and now I am trying to learn shell scripting from scratch. I would really appreciate if someone can guide me on choosing right documentation/links to start off with.

PS: I can create simple scripts and can understand slightly complex ones.

Any help in this regards will be highly appreciated!

share|improve this question

closed as primarily opinion-based by terdon, Ramesh, Patrick, slm, vonbrand Jun 19 '14 at 17:13

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

5 Answers 5

up vote 1 down vote accepted

I learned scripting with these Guides:

Bash Beginners Guide

Topics include:

  1. Bash environment
  2. regex
  3. awk
  4. sed
  5. interactive scripts
  6. loops + shift
  7. functions
  8. signals
  9. more...

Advanced Bash-Scripting Guide

Topics include:

  1. Basics + convention Quoting, Exit status
  2. Variable maniulation
  3. Commands (builtins, filters, sysadm)
  4. regex
  5. i/o redirection
  6. process substitution
  7. subshells
  8. more...
share|improve this answer

If you're looking for web resources I've found this to be helpful for most of my uses.

share|improve this answer
    
Awesome......!! –  Atul Jun 20 '14 at 19:07

You should find Heiner's SHELLdorado a good starting point. Don't underestimate the manpages as an on-going resource, either, as you develop code.

share|improve this answer
    
Sure..Will go Through them..:) –  Atul Jun 20 '14 at 19:06

Try getting these books: Classic Shell Scripting and bash Cookbook. They are both by O'Reilly. There is also tons of documentations and youtube videos online.

share|improve this answer

I have seen a post similar to this, where i answered the same as Livinglifeback with the tldp bash documentation. There was also some other great ones. Here is the link: How to get started with bash?.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.