Or / And Condition in linux
Hi All,
how to write or / and condition in if clause . I want to write this type of logic if [ "$var"="" or "$var1"="" ] then ........... else ......... fi Is it possible to write such type of logic here?? Thanks in advance |
From the bash man page:
Code:
[ expr ] |
Quote:
Code:
if [ "$var"="" or "$var1"="" ] |
All times are GMT -5. The time now is 07:14 PM. |