Let’s Start


Basically..
You will use a lot of options for the Linux commands in scripting. As you know it is not easy to remember all the commands and options.
So you should know how to use help in Linux. Without help, we beginners cannot do anything. It means, you should be an expert in using ‘man’ command.
Using man command is quite simple, type “man <command>“. That’s it .
Read the man pages of some commands that you already know and be an expert in interpreting things from the page. Don’t expect any more advice on this from our side :P
 For some commands even man will not be enough for example, Can you display yesterday’s date? Look whether any option is there in the man page. The option is there, it is –date, but for me the explanation is not enough, then you have to go for pinfo command for better explanation. Try “pinfo date” you will see links there. Use arrow keys to navigate. 
 If pinfo also is not enough.. then go to http://access.redhat.com/docs you will find everything there.

Conventions used

While writing commands I will use the following conventions
# or $ at the starting of a standalone command à you should not include them while typing.  It is included to show it’s a prompt. [Basically these prompts are like # for root user and $ for normal user.]
[something] à anything inside a squire bracket means that is optional
<something> à anything inside an angled bracket is a variable string you have to fill it appropriately. 

Next Page