Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Terminal use?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
sgshanaf
n00b
n00b


Joined: 14 Aug 2006
Posts: 5

PostPosted: Sun Sep 03, 2006 6:07 am    Post subject: Terminal use? Reply with quote

I don't know how to search for this question, since I'm not sure what this is "called"...

Basically, i'm running ssh and a few other daemons on a headless gentoo box at work. I am logging in via ssh from another computer, and occasionally I'm getting disconnected while emerging things.

My question is: is there a way to "reconnect" to that session? when I was disconnected do all the programs running in that terminal die immediately?


secondly, is there a way to start a command that is independent of the current terminal session? for example, can i login via ssh and "emerge --sync" and close the terminal?


I am not familiar with the details of remote terminal sessions, so any info is greatly appreciated!

Thanks!
Scott
Back to top
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Sun Sep 03, 2006 6:17 am    Post subject: Re: Terminal use? Reply with quote

sgshanaf wrote:
I don't know how to search for this question, since I'm not sure what this is "called"...

Basically, i'm running ssh and a few other daemons on a headless gentoo box at work. I am logging in via ssh from another computer, and occasionally I'm getting disconnected while emerging things.

My question is: is there a way to "reconnect" to that session? when I was disconnected do all the programs running in that terminal die immediately?


emerge app-misc/screen + there is a howto on gentoo-wiki.com

sgshanaf wrote:
secondly, is there a way to start a command that is independent of the current terminal session? for example, can i login via ssh and "emerge --sync" and close the terminal?


command &
disown

should do the trick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum