[Sick]Zer0
08-09-2003, 10:08 PM
I recently purchased a dedicated server for webhosting/game server hosting. I need stuff to be ran in the background, so they dont terminate when I disconnect. Whenever I try the 'screen' command, it says command not found(which means its not installed, right?). Is it supposed to be installed by default, or can you download it and install it? If anyone has any clue about this, please help me, or if you know another way to run a process in the background. I am using Redhat 8 by the way!
Jim_UK
08-09-2003, 11:10 PM
See here: http://rpmfind.net/linux/rpm2html/search.php?query=screen
I don't think screen and nohup are the same, although they can be used to accomplish the same thing.
But yeah, go to rpmfind.net, download screen, and rpm -i [filename] :)
Werpon
08-10-2003, 04:15 PM
No, they're not the same program, but [Sick]Zer0 asked for "another way to run a process in the background" and that's what nohup does...
actually, why not jsut use a "&" ? I run my gameservers that way. :) screen lags my gameservers by a tiny little bit, and i don't like that. :/
heyzuess
08-10-2003, 05:11 PM
Yeap, I just fork mine off into the background with & too. Works just fine.
OverlordQ
08-10-2003, 05:16 PM
nohup keeps your processes from dying when you logout. ala ignores the HUP signal. I usually do 'nohup ./myprogram &'