• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Restarting tfs in linux and closing

TKO

Syphero Owner!
Joined
Mar 10, 2008
Messages
2,252
Reaction score
27
Location
Sweden
Hey im kind of new to linux and i wanna learn!
Is there a quick command for restarting and closing the server?
and how do i close a screen and open it again?
 
Last edited:
Remember that the # cd command is an example.. you need to go to your server folder to execute these commands.. so make sure your writing right path..

etc. # cd /home/serverfolder

command for starting server:
# ./theforgotten

command for closing server:
# ctrl+c

command for starting server and restarts automatic if crashed:
# while true; do ./theforgottenserver; done
 
Or... If you want to attach the console of server...


cd /home/servername

screen ./theforgottenserver

and later press for attach console server, Control+a+d


Want look the console again?

screen -r
 
Back
Top