How to logout while leaving a process running

  1. Stop the process using Ctrl - Z.
  2. Start the process in the background again by typing bg.
  3. Disown the process by typing disown.
  4. Exit the terminal.
  5. Open another terminal and check that your process is running by typing top.