Linux

프로세스 관리하기 ( Ctrl+z 재개하기 )

Taiji.xo 2015. 1. 10. 22:42

The general job control commands in Linux are:

  • jobs - list the current jobs
  • fg - resume the job that's next in the queue
  • fg %[number] - resume job [number]
  • bg - Push the next job in the queue into the background
  • bg %[number] - Push the job [number] into the background
  • kill %[number] - Kill the job numbered [number]
  • kill -[signal] %[number] - Send the signal [signal] to job number [number]
  • disown %[number] - disown the process(no more terminal will be owner), so command will be alive even after closing the terminal.


출처: http://superuser.com/questions/268230/how-can-i-resume-a-stopped-job-in-linux


ctrl + z 했을 경우
jobs 로 확인했을 때 백그라운드로 실행되고 있는걸 확인할 수 있다.

fg로 프로세스를 재개할 수 있음.