This is what do I do:
1
2
2
cd /usr/games ./cs2d_dedicated
Should I use special characters after ./cs2d_dedicated?
cd /usr/games ./cs2d_dedicated
nohup ./cs2d_dedicated &
nohup ./cs2d_dedicated &
cs2d@koliarus1:/usr/games$ nohup ./cs2d_dedicated & [1] 24654 cs2d@koliarus1:/usr/games$ nohup: ignoring input and appending output to '/home/cs2d/nohup.out'
nohup ./cs2d_dedicated &
tmux. In Debian you can install it with
sudo apt-get install tmux, and you can read the tutorial here and their comparison between
screenhere.
screen -S cs2d- start a new console session named "cs2d"
screen -r <pid/name>or
screen -r cs2d- reconnect to console
screen -list- lists all screens by your user.
screen -d <pid>before
screen -r <pid>.