Created
April 11, 2020 01:46
-
-
Save khalidx/5875921dbe878148feee0ca865b93690 to your computer and use it in GitHub Desktop.
Check the exit status code of a shell command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
whoami # run some command | |
echo $? # show the exit status code result of the command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment