CTRL+Z 로 프로세스 중간에 멈춘 작업이 있다면 아래 방법으로 불러오기를 할 수 있다.

 

예시) 

sleep 3000 실행 도중, CTRL+z 로 실행 도중에 멈췄다면, [1]+ 처럼 몇번째 멈춤 작업인지 나타내는 숫자와 함께 화면에 출력된다.

jobs 명령어 실행시 background에 멈춘 작업 리스트를 보여준다.

불러오기를 하고 싶다면 해당 번호를 %[번호] 로 불러오면 되겠다.

출처: 

https://unix.stackexchange.com/questions/109536/if-you-z-from-a-process-it-gets-stopped-how-do-you-switch-back-in

 

If you ^Z from a process, it gets "stopped". How do you switch back in?

I accidentally "stopped" my telnet process. Now I can neither "switch back" into it, nor can I kill it (it won't respond to kill 92929, where 92929 is the processid.) So, my question is, if you h...

unix.stackexchange.com

 

+ Recent posts