LinuxQuestions.org
Visit Jeremy's Blog.
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 06-25-2012, 12:25 AM   #1
Shahid nx
Member
 
Registered: Jan 2012
Posts: 46

Rep: Reputation: Disabled
bringing process from one shell to another?


Hi All,
In my server there are many processes are running in backgroung. I just want to bring those process into foreground. But those process are running in other shells. So the problem how can i bring the backgroung processes running from another shell to my current shell. Please share if any idea. Thanks

Shahid NX
 
Old 06-25-2012, 12:36 AM   #2
dayid
Member
 
Registered: Apr 2012
Location: Austin, TX
Posts: 44

Rep: Reputation: Disabled
You'll need to restart the processes.

Had you initially started them in a terminal multiplexer you could have detached it from the other login session and restored it to the one you want. The most popular of these to use are GNU Screen and tmux

I've written a fairly popular/basic introduction for each
 
Old 06-25-2012, 12:50 AM   #3
Shahid nx
Member
 
Registered: Jan 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
Till now i m doing it by restarting only.. But headache is there are so many processes are there, And every day while leaving office i have to shuttdown system. And every new morning i have to restart all the processes. And i m using exceed client.
 
Old 06-25-2012, 06:39 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,692

Rep: Reputation: 7533Reputation: 7533Reputation: 7533Reputation: 7533Reputation: 7533Reputation: 7533Reputation: 7533Reputation: 7533Reputation: 7533Reputation: 7533Reputation: 7533
you can try nohup
 
Old 06-25-2012, 03:46 PM   #5
dayid
Member
 
Registered: Apr 2012
Location: Austin, TX
Posts: 44

Rep: Reputation: Disabled
Quote:
Originally Posted by Shahid nx View Post
Till now i m doing it by restarting only.. But headache is there are so many processes are there, And every day while leaving office i have to shuttdown system. And every new morning i have to restart all the processes. And i m using exceed client.
Which is exactly why I advised you to use a terminal multiplexer so that you can simple attach/detach from the sessions - thus not having to restart anything after that point. You should really look into the suggestions and how-to posted in my original response, as both do exactly what you need.
 
  


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
Bringing back to foreground a process whose terminal is killed siasia Linux - Newbie 5 04-05-2011 06:41 PM
Bringing back to foreground a process whose terminal is killed siasia Linux - Newbie 1 04-05-2011 06:02 PM
GNOME:(Convenience) Any way to input shell commands without bringing up a terminal? kopatops Linux - Software 6 03-13-2010 04:05 PM
Shell script for reading a particular process contineously from process table vinaykori Linux - General 2 05-29-2009 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:00 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