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