使用&&和执行多个命令有什么区别;?
&&
;
例子:
echo "Hi\!" && echo "How are you?"
和
echo "Hi\!"; echo "How are you?"
shell bash
bash ×1
shell ×1