Varun,
If you are using a variable and want to acces the value of the variable then only you need to put $ sign otherwise not needed.
suppose
path=/usr/bin/this
if you are using this path variable in ur script then you have to put a $ sign before that to access the value.
otherwise directly you can hardcode that value without the $ sign as you did in your if statement.
Thanks
Namish
Last edited by namishtiwari; 08-20-2007 at 02:15 AM..
|