LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-05-2010, 01:55 AM   #1
agrilledfish
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Foregrounding process that was backgrounded in a previous session


I remotely administer a server. If I start a process through ssh and background it, then log out and back in, it is no longer in the job list, so I cannot foreground it with fg. Is there a way to bring it back to the foreground, or somehow send input to it?
 
Old 08-05-2010, 01:57 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

And the simple answer is: no

One exception: you can send it a variety of signals via
the kill command ('man kill' for details).

Look at using 'screen' for your needs in the future.


Cheers,
Tink
 
  


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
Getting the return code of a backgrounded process 0ddba11 Linux - General 7 07-02-2007 06:31 PM
backgrounded process siezes shell paulyche Linux - General 1 10-02-2006 06:44 PM
K3B-Howto import previous session philipvarghese Linux - Software 1 07-07-2006 03:11 PM
KDE hangs when restoring previous session belliott4488 Linux - General 2 12-14-2005 11:26 PM
Can I resume a previous ssh session? dehuszar Linux - Software 2 11-08-2004 11:21 AM


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