LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bringing process from one shell to another? (https://www.linuxquestions.org/questions/linux-newbie-8/bringing-process-from-one-shell-to-another-4175413209/)

Shahid nx 06-25-2012 12:25 AM

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

dayid 06-25-2012 12:36 AM

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

Shahid nx 06-25-2012 12:50 AM

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.

pan64 06-25-2012 06:39 AM

you can try nohup

dayid 06-25-2012 03:46 PM

Quote:

Originally Posted by Shahid nx (Post 4711041)
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.


All times are GMT -5. The time now is 04:08 PM.