HELP: Linux shell commands

O

old.GateKeeper

Guest
I am running a CS server on my Linux gateway, and so it has no Xserver so everything is command line based :(.

I have run a hlds server which is working fine and the backgrounded it and logged out.

This was fine until i came to make some modications and log back into the server.

I have a PID but it aint in active jobs so i can fg it :))

Can anyone help - i dont mind restarting the server but i need to be able to log in and out with out loosing all control over the process.

GAteKeeper

Intel 233mmx, ~100Mb ram
2Gb HDD
ClarkConnect - a RedHat (I know :) ) 7.1 based gateway distro
2 NICs
and the all important cable modem
 
T

Testin da Cable

Guest
not quite sure what you mean dudeh
once you log out/back in you'll be in a new shell. you aren't talking about kill are you? with that you can shut down the hldsprocess.
 
O

old.GateKeeper

Guest
Solved my own problem:

the trick seems to be to use screen to define the process as a virutal terminal and then you can re-log in at any time

started the serice using:

screen -A -m -d -S hlds ./hlds_run -game cstrike... etc

and then you can access it using:

screen -r hlds

to put it back in the background:

'ctrl-a' and then 'd'

Works quite well :))

GAteKeeper
 
T

Testin da Cable

Guest
wooo well done :)
didn't know that, and I will deffo keep it in mind [as I sometimes run UT servers :)]
 

Users who are viewing this thread

Top Bottom