Guides 11791 Published by

A tutorial on how to determine whether your Bash commands were successful was published by Linut Hint.



How to Check If a Command Succeeded in Bash

Practical tutorial on two common ways of checking whether your command succeeded in Bash - the conditional if-else statement and the special variable ($?).
Check_command_succeeded

How to Check If a Command Succeeded in Bash