If you try to execute ls on a directory that doesn't exist, you'll get a non-zero exit code: ls /nonexisting_dir &> /dev/null echo $?.
確定! 回上一頁