Unix

Using the nohup command to run and log backgroud processes

There is a problem I often encounter when working on remote access servers through the terminal: how do I set up a script/program to run if I know its going to take a long time to execute? For a long time I solved this problem in a very lazy and fragile fashion. I would use a terminal to log in to the server (via ssh, usually on my lab’s desktop pc), run the command and then not touch the terminal until the program finished.