Answers for "sh check if program exists"

0

sh check if program exists

if ! command -v <the_command> &> /dev/null
then
    echo "<the_command> could not be found"
    exit
fi
Posted by: Guest on April-05-2022

Browse Popular Code Answers by Language