View previous topic :: View next topic |
Author |
Message |
khuongdp n00b
Joined: 09 Nov 2003 Posts: 73
|
Posted: Fri Jun 25, 2004 3:26 pm Post subject: closing ssh console window |
|
|
When I ssh to my server I would like to
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 |
|
|
beowulf918 Tux's lil' helper
Joined: 03 Dec 2002 Posts: 147 Location: The Gambia
|
Posted: Fri Jun 25, 2004 3:30 pm Post subject: |
|
|
Code: |
man nohup
nohup emerge openoffice &
|
James. |
|
Back to top |
|
|
khuongdp n00b
Joined: 09 Nov 2003 Posts: 73
|
Posted: Fri Jun 25, 2004 5:08 pm Post subject: |
|
|
thx it works....what does it mean when you add "&" at end of the command? |
|
Back to top |
|
|
abonventre Tux's lil' helper
Joined: 19 Jun 2003 Posts: 80 Location: Boston, MA
|
Posted: Fri Jun 25, 2004 5:50 pm Post subject: |
|
|
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 |
|
|
vivi77 n00b
Joined: 25 Jun 2004 Posts: 5
|
Posted: Fri Jun 25, 2004 5:56 pm Post subject: |
|
|
& 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 |
|
|
kamagurka Veteran
Joined: 25 Jan 2004 Posts: 1026 Location: /germany/munich
|
Posted: Fri Jun 25, 2004 7:34 pm Post subject: |
|
|
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 |
|
|
|