Bash verificación de retorno del comando no error

if command ; then
    echo "Command succeeded"
else
    echo "Command failed"
fi
steamboatid