Answers for "bash check if cd successful"

0

bash check if cd successful

some_command
if [ $? -eq 0 ]; then
    echo OK
else
    echo FAIL
fi
Posted by: Guest on October-30-2021

Code answers related to "bash check if cd successful"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language