LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-13-2005, 10:19 AM   #1
Dachy
Member
 
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, 11:38 AM   #2
netcrawl
Member
 
Registered: Jan 2004
Location: British Columbia
Distribution: Slackware64-current, aarch64
Posts: 220

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


Reply



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 07:09 PM
running rsync from a background c program BassJunkie Programming 2 08-26-2005 05:38 AM
Running a program in the background - SSH ziggo0 Linux - Newbie 4 03-05-2005 01:30 PM
Run a program in the background??? KaptinKABOOM Linux - Software 5 07-06-2004 06:40 AM
Program In background frankprogramer Linux - Software 1 10-30-2002 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:07 AM.

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