Find the answer to your Linux question:
Results 1 to 2 of 2
I'm relatively new to linux, I've messed with fedora for awhile, but usually only enough to get a counter-strike server running. My Problem: I started the server using the typical ...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Location
    Columbia SC
    Posts
    1

    Switching between programs over SSH

    I'm relatively new to linux, I've messed with fedora for awhile, but usually only enough to get a counter-strike server running.

    My Problem: I started the server using the typical ./srcds etc.... and i was connected to my home server from work using SSH. Well, I went to eat lunch, and my ssh session had timed out, and I need to know how to get back to my server "program" that was running under the console. I've read about "screens" but I did not think to impliment that, so If i can't get it back, what command would I use to kill that particular program so i can re-start it using the screen method.

    If you bother helping me this much, what would the screen command be to start said program so i can pull it back and up.

    Thank you much

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,393
    If you're back in the machine, use 'ps' to list your processes, and 'kill' to kill by process number. You can also use 'kilall' but that's often overkill, and you usually want to avoid side effects caused by killing wanted instances of an application too.

    The command to launch screen is 'screen'.

    For any commands you don't understand, the best place to start is with its manual page - in this case do 'man screen' to find out how it all works. If you struggle with understanding things in the manual, then ask us.
    Linux user #126863 - see http://linuxcounter.net/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...