DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash check return of command not error
if command ; then echo "Command succeeded" else echo "Command failed" fi
Source by unix.stackexchange.com #
PREVIOUS
NEXT
Tagged:
#bash
#check
#return
#command
#error
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit