[root@server ~]# bash << eof > cat adsfasdf > echo $? > eof cat: adsfasdf: No such file or directory 0
谁能解释为什么它返回退出状态 0 而不是 1?
bash shell-script
bash ×1
shell-script ×1