Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-13-2005, 11:19 AM   #1
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Rep: Reputation: 15
running a program in background of X using &

i read in another post that by typing & at the end of a command that the program will run even after i close the terminal i started it from. so i type 'firefox &' and firefox starts up and everything but if i close the terminal window it closes firefox as well. what gives? i got it to work once but now it just won't. is there some kind of special permission i need to have set or what? TIA
Old 09-13-2005, 12:38 PM   #2
Registered: Jan 2004
Location: British Columbia
Distribution: Slackware64 14.1, m0n0wall
Posts: 143

Rep: Reputation: 20
Try using "exit" to close your terminal after issuing "firefox &", assuming you haven't already.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running programs in background via & parameter dissectional Linux - General 6 11-03-2005 08:09 PM
running rsync from a background c program BassJunkie Programming 2 08-26-2005 06:38 AM
Running a program in the background - SSH ziggo0 Linux - Newbie 4 03-05-2005 02:30 PM
Run a program in the background??? KaptinKABOOM Linux - Software 5 07-06-2004 07:40 AM
Program In background frankprogramer Linux - Software 1 10-30-2002 03:56 PM

All times are GMT -5. The time now is 05:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration