OS & Shell/Linux

[Linux] 명령어 같이 실행

냐옴 2017. 11. 23. 09:44
A; B    Run A and then B, regardless of success of A
A && B  Run B if A succeeded
A || B  Run B if A failed
A &     Run A in background.


https://askubuntu.com/questions/334994/which-one-is-better-using-or-to-execute-multiple-commands-in-one-line