Mon script shell ressemble à quelque chose comme ça ...en utilisant OR dans le script shell
if [[ $uptime -lt 0 ]];then
some code
fi
if [[ $questions -lt 1 ]];then
some code
fi
if [[ $slow -gt 10 ]];then
some code
fi
Comment puis-je utiliser OU et un seul si l'article?
dans ce shell? sh, bash? –
Copie possible de [Comment faire une opération OR logique dans Shell Scripting] (https://stackoverflow.com/questions/4111475/how-to-do-a-logical-or-operation-in-shell-scripting) –