Answers for "bash check return of command not error"

0

bash check return of command not error

if command ; then
    echo "Command succeeded"
else
    echo "Command failed"
fi
Posted by: Guest on September-15-2021

Code answers related to "bash check return of command not error"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language