Tutorial on using exit codes from Linux or UNIX commands. ... #!/bin/bash cat file.txt if [ $? -eq 0 ] then echo "The script ran ok" exit 0 ...
確定! 回上一頁