[Uaflug] Command to start a program
Seth de l'Isle
szoth at ubertechnique.com
Thu Aug 17 23:54:47 AKDT 2006
On Thu, Aug 17, 2006 at 11:29:59PM -0800, Paul Swanson wrote:
> How do I start a program from the command line without it remaining in
> that terminal? That is, I want to go to a terminal and run "gedit"
> (for example) then be able to close that terminal.
szoth at cabecou:~$ gedit &
[1] 2606
szoth at cabecou:~$ disown
szoth at cabecou:~$ exit
The ampersand makes bash run gedit in the background, meaning that you
can still type more commands into the console. Disown tells bash that
the last command you ran shouldn't be killed when bash exits.
Seth
More information about the uaflug
mailing list