So I just learned about the “screen” program
So I’m running two Gentoo boxes at home. One’s a laptop and the other is a headless server with a couple drives stuck in it. Lately I’ve just been getting fed up with MS Windows XP, but that’s a post for another day. Granted, the learning curve for Linux is much higher and I’ve been using Windows longer. My main computer is an IBM X30 Thinkpad that I bought used and I highly recomend it. Anyway, anytime I wanted to install some software on the server I would ssh in and emerge. Well, I would have to leave my ssh session open on the laptop, sometimes all night, and that doesn’t make much sense. The whole point of having a desktop computer is that the desktop does all the heavy lifting. This is where the screen command comes in. I just log in to the server via ssh then run screen and start whatever process I’m trying to run type control + a then d and log out. When I want to check on the process I log in via ssh and type screen -r viola I’m looking at the status of my process.
Post a Comment