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 :)


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.

| improve this answer | |
  • thanks! I'm looking at screen and it looks nice already! – kwagjj Jun 18 '14 at 14:24

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

| improve this answer | |
  • You should accept garethTheReds answer, it'll mark the question as solved for others to find and he beat me too it. : ) – Livinglifeback Jun 18 '14 at 14:35

Not the answer you're looking for? Browse other questions tagged or ask your own question.