View previous topic :: View next topic |
Author |
Message |
addeman Apprentice
Joined: 04 Nov 2004 Posts: 181 Location: Stockholm, Sweden
|
Posted: Thu Jan 27, 2005 8:00 pm Post subject: ssh question [solved] |
|
|
Hello out there.. I'm, sitting here planing to do some emerge -e system on my routerbox, which also runs as a printer/fileserver... As that box is down in the basement with no attached keyboard or screen, i'm doing everything via ssh...
Now, I just wonder (being a noob) if there is any way to start some emerge via ssh and then exit the ssh-session with the emerge still running? Is it sufficient to background the emerge?
regards addeman
Last edited by addeman on Thu Jan 27, 2005 8:35 pm; edited 1 time in total |
|
Back to top |
|
|
adaptr Watchman
Joined: 06 Oct 2002 Posts: 6730 Location: Rotterdam, Netherlands
|
Posted: Thu Jan 27, 2005 8:04 pm Post subject: |
|
|
Start screen, detach the session, and you can safely log out of ssh _________________ >>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen |
|
Back to top |
|
|
nizar Apprentice
Joined: 19 Dec 2003 Posts: 268 Location: localhost
|
Posted: Thu Jan 27, 2005 8:07 pm Post subject: |
|
|
Or simply use nohup and &, for example:
Code: |
nohup emerge -vuD world&
|
|
|
Back to top |
|
|
psychomunky Guru
Joined: 02 Nov 2004 Posts: 337 Location: Canada
|
Posted: Thu Jan 27, 2005 8:19 pm Post subject: How to get it back |
|
|
if you want to check the progress of the emerge, log into the box and issue the following if you started with screen:
For nohup, you can watch the progress by tailing the nohup.out file:
|
|
Back to top |
|
|
addeman Apprentice
Joined: 04 Nov 2004 Posts: 181 Location: Stockholm, Sweden
|
Posted: Thu Jan 27, 2005 8:34 pm Post subject: |
|
|
Thank you, saved me a nights sleep
best redards addeman |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
|
Back to top |
|
|
|