I want to check that whether two programs exist or not.
if ! [ type gedit ] || ! [ type vim ]; then echo "Installing programs" #code fi
#code needs to run when one of them is missing.
What is the true way of it?
Aucun commentaire:
Enregistrer un commentaire