rollenc
May 14th, 2008, 05:06 AM
I install Ubuntu in my server.
I found I can't run command in the background.
There is my terminal output:
rollenc@ubuntu:~$ php tmp &
[1] 22639
rollenc@ubuntu:~$
[1]+ Stopped php tmp
rollenc@ubuntu:~$ bg
[1]+ php tmp &
[1]+ Stopped php tmp
rollenc@ubuntu:~$ bg
[1]+ php tmp &
[1]+ Stopped php tmp
rollenc@ubuntu:~$ fg
php tmp
49995000rollenc@ubuntu:~$
I use '&' to run this program in the background, but it stopped, and bg is not my friend yet.
This server is a production server, I don't wanna an OS reinstall.
Thanks for any words.
I found I can't run command in the background.
There is my terminal output:
rollenc@ubuntu:~$ php tmp &
[1] 22639
rollenc@ubuntu:~$
[1]+ Stopped php tmp
rollenc@ubuntu:~$ bg
[1]+ php tmp &
[1]+ Stopped php tmp
rollenc@ubuntu:~$ bg
[1]+ php tmp &
[1]+ Stopped php tmp
rollenc@ubuntu:~$ fg
php tmp
49995000rollenc@ubuntu:~$
I use '&' to run this program in the background, but it stopped, and bg is not my friend yet.
This server is a production server, I don't wanna an OS reinstall.
Thanks for any words.