if command >/dev/null 2>&1; then
        echo "succeed"
      else
        echo "failed"
      fi
      

      Shell language logo
      command success check

      Shell public recipes

      Shortcut: command.success.check

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.