Notice
Recent Posts
Recent Comments
Link
목록nohup (1)
WAS 엔지니어
[Linux] nohup, &
nohup 리눅스, 유닉스에서 shell script 파일을 데몬형태로 실행시키는 프로그램 터미널 세션이 끊겨도 실행을 멈추지 않고 동작할 수 있게 함 & 프로세스를 실행할 때 백그라운드에서 동작 할 수 있도록 만드는 명령어 nohup으로 실행할 shell script 파일은 현재 permission이 755 이상 이어야 함. 사용방법 $ nohup shell.sh & $ nohup sh -- ./shell.sh & $ nohup shell.sh 1>/dev/null 2>&1 & 종료방법 kill -9 [PID]
명령어 & 개념/Linux
2022. 8. 24. 10:58