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
  • 109,670
kwagjj
  • 2,319

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,957
4

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