DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
bash check if cd successful
some_command if [ $? -eq 0 ]; then echo OK else echo FAIL fi
PREVIOUS
NEXT
Tagged:
#bash
#check
#cd
#successful
ADD COMMENT
Topic
COMMENT
Name
6+1 =
Submit