Test if

Bonjour,
Je cherche à faire un test du style

sif $a = toto et $b = tata
then
echo ok

mais je ne sais pas comment coder cela pouvez vous m'aider
merci
JMV
Configuration: debian

4 réponses

  1. Modérateur
    Shell bash ?

    if [ "$a" = "toto" -a  "$b" = "tata" ]; then ...; fi