Hello All,
I would like to know and understand the difference between the below 3 IF loops and also if possible what are the different other parameters i could use other than those mentioed in the below lF LOOP conditions, appreciate your help.
Quote:
if [ $? -ne 0 ] ; then
...some statements
fi
|
Quote:
if [ $? -eq 0 ] ; then
...some statements
fi
|
Quote:
if [ $# -eq 3 ] ;then
...some statements
fi
|
Thanks,
Sam.