develog

[bash] 다중 명령 실행 && || ; 본문

OS & Shell/bash

[bash] 다중 명령 실행 && || ;

냐옴 2020. 9. 15. 23:48

 

stackoverflow.com/questions/4510640/what-is-the-purpose-of-in-a-shell-command

 

What is the purpose of "&&" in a shell command?

As far as I know, using & after the command is for running it in the background. Example of & usage: tar -czf file.tar.gz dirname & But how about &&? (look at this example: ht...

stackoverflow.com

 

'OS & Shell > bash' 카테고리의 다른 글

[bash] set, export, env  (0) 2020.09.16
[bash] tmux  (0) 2020.09.16
[bash] 로컬 shell script 파일을 원격 서버에서 실행하기  (0) 2019.02.26
[bash] existStr  (0) 2019.02.15
[bash] function return  (0) 2019.02.15
Comments