Reputation: 22903
I need to ssh to a machine and launch a bash script running some hour-long tests which require no human interaction for their entire execution.
Is there any way I can decouple my running script from my shell, so that I can close the terminal and shut down my local computer as I like?
Upvotes: 0
Views: 359
Reputation: 182664
Sure, use nohup
:
nohup ./program &
Alternatively, start your program inside screen
or tmux
and then detach.
Upvotes: 3