LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-27-2002, 01:28 AM   #1
2016
LQ Newbie
 
Registered: Jan 2002
Distribution: Mandrake 9.0
Posts: 13

Rep: Reputation: 0
Having trouble running a task in the background


I am working from a console prompt only (via ssh) an I tryi to run a program in the background but it doesnt seem to want to go...and when I do finally finagle it there...it runs for about an hour then stops running....if it matters I am running mandrake 8.0 in run level 3..

perhaps I should ask a question....can some one break down the ways to get a program to run/launch into the background

Last edited by 2016; 01-27-2002 at 01:32 AM.
 
Old 01-27-2002, 01:51 AM   #2
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
easiest way i know of is just to execute the program from the command line with an & trailing - like this:

user@linux:/runme &
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Running BitTornado on the background UltimatePower Linux - Software 3 02-09-2005 01:20 PM
Keep task running after logout Xzanron Linux - General 3 12-14-2004 03:44 PM
background running process elbriga Programming 2 09-21-2004 07:08 PM
Running functions in the background vexer Programming 6 05-02-2003 02:04 PM
running screensaver as background contrasutra Linux - Software 9 04-27-2003 08:23 PM


All times are GMT -5. The time now is 02:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration