Linux - keep program running after you close SSH terminal
Posted: 2016 Aug 12, 07:57
When you start a program and close SSH terminal (putty or other) window, program closes.
To make in run after you close terminal window you need to install program called screen.
Screen install on Debian systems:
Screen install on Centos systems:
Once installation is finished, you can run your program using this command:
after that you can close terminal, the program will work
To make in run after you close terminal window you need to install program called screen.
Screen install on Debian systems:
Code: Select all
apt-get install screen
Screen install on Centos systems:
Code: Select all
yum install screen
Once installation is finished, you can run your program using this command:
Code: Select all
screen -AmdS screen_name ./your_command
after that you can close terminal, the program will work