2

This question already has an answer here:

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

marked as duplicate by slm, Patrick, Ramesh, Kevin, derobert Jun 18 '14 at 16:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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.

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

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

  • 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.