Home > computers > linux > bash > BashAndOr | About
Simply use && and || as usual
root@messagerie-prod[10.10.10.19] /home/serveur # [[ (($ok == 0)) && $RMT_HOST == "10.10.10.21" ]] && echo "ok" || echo "not ok" not ok root@messagerie-prod[10.10.10.19] /home/serveur #
contact : @ychaouche yacinechaouche at yahoocom