Thursday, February 13, 2020

bash: check if the program is installed

if ! [ -x "$(command -v wget)" ]; then
     dnf install wget
fi

No comments:

Post a Comment