Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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

share|improve this question

marked as duplicate by slm, Patrick, Ramesh, Kevin, derobert Jun 18 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.

2 Answers 2

up vote 6 down vote accepted

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.

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

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

share|improve this answer
    
thanks! great help :) –  kwagjj Jun 18 at 14:25
    
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 at 14:35

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