LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2004, 10:37 AM   #1
Meatball1337
LQ Newbie
 
Registered: Oct 2004
Posts: 15

Rep: Reputation: 0
How to make a backround progress run


I am using puTTy to accesss my linux slackware 10.0 server and I need to know how to make a process run in the backround cause everytime i close the session on puTTy the process stop
 
Old 10-09-2004, 10:48 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
Putting an ampersand after the command sends it to the background eg
Code:
gkrellm &

Last edited by mdg; 10-09-2004 at 10:49 AM.
 
Old 10-09-2004, 02:04 PM   #3
jjjjjavi
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware 10.0
Posts: 2

Rep: Reputation: 0
What you want is not only to send to the background with an &.

What you should do is:

nohup program_name &
 
Old 10-09-2004, 02:09 PM   #4
utopicdog
Member
 
Registered: Aug 2003
Location: france
Distribution: suse/fedora
Posts: 105

Rep: Reputation: 15
in fact you need to know how to make a process run as a deamon, because logging out will still kill the background process.

what I do is launch a script at startup which continually checks for the existence of a file eg. /home/me/signal then sleeps for 1 second. if the file is there it launches another script. creating the file eg. touch /home/me/signal, launches the action. email me if you want more details, or read the bash manpage for more on how to write a script.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Botosplash backround in x consoles iotc247 Slackware 1 05-30-2004 02:34 AM
Backround with Twinview JROCK1980 Linux - Software 0 02-27-2004 12:50 AM
backround and gkrellm ematrixxx Linux - Newbie 1 09-18-2003 12:40 AM
IceWM Backround xquizit Linux - Newbie 6 06-18-2003 01:13 PM
Where to get themes and Backround ultravox Linux - General 6 04-05-2003 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 PM.

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