Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
closing ssh console window
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
khuongdp
n00b
n00b


Joined: 09 Nov 2003
Posts: 73

PostPosted: Fri Jun 25, 2004 3:26 pm    Post subject: closing ssh console window Reply with quote

When I ssh to my server I would like to
Code:

emerge openoffice


It take long time to download og install this program so I would like to close the console window on the client machine without the installation of openoffice on the server is kill..... How can I do that?

I know that I can use crontab but I am looking for another solution.
Back to top
View user's profile Send private message
beowulf918
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2002
Posts: 147
Location: The Gambia

PostPosted: Fri Jun 25, 2004 3:30 pm    Post subject: Reply with quote

Code:

man nohup
nohup emerge openoffice &


James.
Back to top
View user's profile Send private message
khuongdp
n00b
n00b


Joined: 09 Nov 2003
Posts: 73

PostPosted: Fri Jun 25, 2004 5:08 pm    Post subject: Reply with quote

thx it works....what does it mean when you add "&" at end of the command?
Back to top
View user's profile Send private message
abonventre
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2003
Posts: 80
Location: Boston, MA

PostPosted: Fri Jun 25, 2004 5:50 pm    Post subject: Reply with quote

it means that the process youre runnning is run in the background, meaning you can do other stuff at the terminal without having to wait for the process to complete.

a
Back to top
View user's profile Send private message
vivi77
n00b
n00b


Joined: 25 Jun 2004
Posts: 5

PostPosted: Fri Jun 25, 2004 5:56 pm    Post subject: Reply with quote

& means "do in background". you can get same effect by pausing process with ctrl+z and then: bg 1 (or bg 2 for second,...). to bring process to foreground use: fg 1 (2,3,..).
_________________
MMO Master of Orion
Back to top
View user's profile Send private message
kamagurka
Veteran
Veteran


Joined: 25 Jan 2004
Posts: 1026
Location: /germany/munich

PostPosted: Fri Jun 25, 2004 7:34 pm    Post subject: Reply with quote

screen should serve your purpose pretty well, too.

OT:hey aboventre, that is a KICKASS avatar you got there. made it yourself?
_________________
If you loved me, you'd all kill yourselves today.
--Spider Jerusalem, the Word
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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