Oops ,
I am not that smart ;)
I am not an expert but i learned all thru trail and error. The best that i can tell u is to use the man pages. for any command
man <command name>
This is best
All the shell programs are now with perl better to implement all in perl rather than using the shells and fighting for solution.