SRCDS Steam group


Terminating Screens
#1
Question 
This is a very n00b question sorry im not used to using linux based commands. How do I terminate a screen from putty. Also is it possible to list processes and terminate them from putty too ?
Reply
#2
I am by far no linux expert, but what I do is open the screen, then do a CTRL + c, and that terminates the screen
United Strike Marine Corps
USMC-CO| θ (theta)
Reply
#3
inc0gs Wrote:I am by far no linux expert, but what I do is open the screen, then do a CTRL + c, and that terminates the screen

Does that command even work with css running because i cant exit css because it just auto restarts.
Reply
#4
elmarcha Wrote:Does that command even work with css running because i cant exit css because it just auto restarts.

yes, it stops the server and the screen. just open up the screen (where css is running) and press CTRL and C
United Strike Marine Corps
USMC-CO| θ (theta)
Reply
#5
If you want to Detach your Screen session, when you opened it.
You can type:
CTRL + A D
Reply
#6
Agreed:
To detach from a screen: CTRL + A, then CTRL + D
To kill a screen while in it: CTRL + C
also, to attach to a screen: screen -R "nameofscreen"

Another way to kill a screen is to simply use the "kill" command to kill by PID (Process ID), or use "killall" to kill by name.

the "ps -A" command will give you a list of all processes running (including screen) along with their PIDs. Find the PID for screen and type "kill PIDgoeshere". I usually use killall. "killall screen" will stop screen. But be careful, using "killall screen" will terminate ALL screens running. Hope that helps. Feel free to e-mail me with other questions.
Reply
#7
to detatch cntrl+a+d, to kill it cntrl+d
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)