Linux命令之exit - 退出當前shell【返回值狀態】

用途說明 exit命令用於退出當前shell,在shell腳本中能夠終止當前腳本執行。shell   經常使用參數 格式:exit nspa 退出。設置退出碼爲n。(Cause the shell to exit with a status of n.)code   格式:exitorm 退出。退出碼不變,即爲最後一個命令的退出碼。(If n is omitted, the exit status
相關文章
相關標籤/搜索