Quote:
Originally Posted by JoeRogan
BTW way guys im using Unix Shell By Examples Fourth Edition By ELLIE QUIGLEY to help me started with scripting and this book is confusing and too advanced for me..what do u guys suggest for a beginner? almost 60-70 % of the time im googling things to understand what they are saying..I need something VERY basic. PLZ and thx
|
I think googling for solutions is one of the best ways to study, actually. You can see how others have had the same issues you're facing now and how they solved them. It's much more direct and hands-on than reading out of a dry old book.
On the other hand, working through a good general tutorial or two first can certainly help you comprehend the basics. So here's my standard list of reference links for you to peruse:
Here are a few useful bash scripting references:
http://mywiki.wooledge.org/BashGuide
http://www.linuxcommand.org/index.php
http://mywiki.wooledge.org/BashFAQ
http://mywiki.wooledge.org/BashPitfalls
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/index.html
http://www.gnu.org/software/bash/manual/bashref.html
http://wiki.bash-hackers.org/start
=====
Here are a few useful awk references:
http://www.grymoire.com/Unix/Awk.html
http://www.gnu.org/software/gawk/man...ode/index.html
http://www.pement.org/awk/awk1line.txt
http://www.catonmat.net/blog/awk-one...ined-part-one/
=====
Here are a few useful sed references.
http://www.grymoire.com/Unix/Sed.html
http://sed.sourceforge.net/grabbag/
http://sed.sourceforge.net/sedfaq.html
http://sed.sourceforge.net/sed1line.txt
=====
Here are a couple of links about using find:
http://mywiki.wooledge.org/UsingFind
http://www.grymoire.com/Unix/Find.html
=====
An adequate regular expressions tutorial:
http://www.grymoire.com/Unix/Regular.html
I definitely recommend the BashGuide as the best general introduction to the basic concepts, and LinuxCommand provides a good step-by-step guide by example. All the grymoire links are great too, although they're based on unix versions of the tools rather than the gnu utilities found in Linux. Be aware also that there are some mistakes in his posted examples, particularly the awk guide; it seems that some of the backslash escapes disappeared in transition to html formatting. Just keep it in mind when something doesn't seem to work.
Other than that, you really just need hands-on experience. Start small, find a few itches to scratch, and start writing scripts, and in a few years you'll be able to hack away with the rest of us.
Edit: Oh, BTW, please use
[code][/code] tags around your code and data, to preserve formatting and to improve readability.