2

While I am always logging into a CentOS server for simulations it got me thinking:

why can't I keep running the simulations even if my session is closed?

I know that when a session is ended or a user logs out,

any process generated from the session is also terminated.

Could there be a way to let the processes keep on running by itself

even if the session is closed?

-- a silly question from a user with not much unix background :)

derobert
  • 107,579
  • 20
  • 231
  • 279
kwagjj
  • 2,309
  • 6
  • 22
  • 29

2 Answers2

6

Have a look at screen or, even better, tmux.

These allow you to do exactly what you want. tmux also allows you to split the session into multiple windows.

garethTheRed
  • 33,289
  • 4
  • 92
  • 101
4

Sure there is! tmux and screen are both classic solution as well as nohup.

Livinglifeback
  • 1,586
  • 10
  • 16