Re: Detach running program from terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 23 Oct 2003 02:33:55 +0200,
Maynard Kuona <knxmay001@xxxxxxxxxxxxxx> wrote:

> How can I do this. Is it at all possible. Sometimes this seems to
> happen of its own accord.

You mean that if you run something from text shell (probably bash) f.e
mozilla it blocks your terminal? Simply run it like this:

$ mozilla &

or after running it press [Ctrl]+[Z] that will *stop* current command
(mozilla) - the browser will freeze, to unfreeze it type:

$ bg

and if you want to connect it back type:

$ fg

if you have more than 1 process running in the background of your shell
you'll be given a list of such processes to choose from. If you want to
close the shell having open background process(es) you should type:

$ disown

If you don't do so, proceses started within given shell will die with
that shell. If you do this it is comofrtable to add "disown" command to
your logout script (for bash it would be ~/.bash_logout).

-- 
  ,--------,
  |`.    .'|  Konrad Kosmowski
  |.'`--'`.|  K_Kosmowski@xxxxx
  '--------'


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux