How do I close a terminal without killing the process?

Thanh Hoan

New member
How do I close a terminal without killing the process?
Answer
The easiest solution
  1. Ctrl + Z to suspend the process.
  2. bg to resume the process in the background.
  3. disown -ah to remove all jobs from the shell and make them ignore SIGHUP.
  4. exit to close the terminal.
 

Tìm kiếm

Back
Top