一.
[root@iZwz909gageaynj30avzw5Z tmp]# echo 11;echo 22
11
22
[root@iZwz909gageaynj30avzw5Z tmp]# echo 11;echo 22;echo 33
11
22
33
二.
[root@iZwz909gageaynj30avzw5Z tmp]# 11;22;echo 111
-bash: 11: command not found
-bash: 22: command not found
111
分号前面即使报错,也会执行后面的
网友评论