Click to See Complete Forum and Search --> : Running applications from Konsole
z0mbix
10-05-2001, 11:57 AM
Is there any way to run an application from a konsole without the temrinal then becoming unuseable until the application is closed? I know I can just Alt+F2, but just wondering...
(use Mandrake 8.0 with KDE)
:confused: errrrrr :confused:
dvdnut
10-05-2001, 12:08 PM
yep
after you type in the command put an & at the end
it runs it in the background and the only way to kill it would be to kill the pid i think
Strike
10-05-2001, 12:08 PM
say you want to run foo
nohup foo &
should do it for any program. Some programs may not need the nohup and some may not even need the &.
nathaniel
10-05-2001, 12:12 PM
Originally posted by Strike:
<STRONG>say you want to run foo
nohup foo &
should do it for any program. Some programs may not need the nohup and some may not even need the &.</STRONG>
Just remember if u run with nohup it means even with you pid killing it u may not beable to actually kill it.
My sysadmin let me down load the new RH7.1 isos one night from one of the servers and he had put on a terminal inactive=> close tty so I put a nohup. He was really pissed. much trouble killing the ftp process.
mrBen
10-05-2001, 12:14 PM
Also, if you run a program without the & by mistake, if you go back to the console window and type Ctrl-Z it should stop the program. It should say something like this:
[%1] Opera - stopped
Then type 'bg %1' and the program will start running again, but in the background, giving you control of your console again.
HTH