title: Run a command in a shell and keep running the command when you close the session
body: <p>I am using Putty to connect to a remote server. What I want to know is if there is any way to write my commands and allow them to keep running after I close the session with Putty. The reason for this is that I do not want to keep the computer ON all the time. Is there any way to do this?.</p>
  
  <p><strong>Update with the solution</strong></p>
  
  <p>For my question as it is presented the best solution is use one of the commands provided such as <strong>nohup</strong>, because you do not have to install any additional software. But if you are in the same problem use screen, install it and use it. It is amazing.</p>
  
  <p>I have selected the answer of Norman Ramsey as favourite because propose several solutions using commands and <strong>screen</strong>. But please check the other answers specially the one of PEZ, then you get an insight of what screen is able todo.</p>