LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to bring a fg job to bg (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-bring-a-fg-job-to-bg-436701/)

binary_0011 04-19-2006 06:44 AM

how to bring a fg job to bg
 
i do a :

tail -f /var/log/messages > /dev/tty9 &

ok, it is running on the bg, great.

i do a

jobs

will show me it is running on the background

i do a fg ,

the job wil bring to foreground.

now, how do i bring it back to bg? since now my terminal is "stuck" , i tried a ctrol-y , then i type bg, it wont work.



thanks.

Hobbletoe 04-19-2006 06:48 AM

You need to do a ctrl-z, then type bg.

rhoekstra 04-19-2006 06:49 AM

how about a ctrl-z..

Hobbletoe beat me :)

binary_0011 04-19-2006 06:57 AM

er...that was simple...thanks.


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