c*s 发帖数: 51 | 1 I forgot which command is for the following purpose.
Can anyone tell me about that? Thanks.
I remember there is a command which can put the current
process into background by pressing some kind of control
key combination. Later you can bring the background process
back. I don't mean that fg and bg. |
m*******m 发帖数: 182 | 2
Normally, it binds to cntl-z to put process on hold. It
sends STOP
signal to the process. "bg" to make it run in background.
【在 c*s 的大作中提到】 : I forgot which command is for the following purpose. : Can anyone tell me about that? Thanks. : I remember there is a command which can put the current : process into background by pressing some kind of control : key combination. Later you can bring the background process : back. I don't mean that fg and bg.
|
c*s 发帖数: 51 | 3
I know that. But this method is unable to bring back the
process and
see what happened before. I used a better command before but
forgot
it since I have not use Unix for long time.
【在 m*******m 的大作中提到】 : : Normally, it binds to cntl-z to put process on hold. It : sends STOP : signal to the process. "bg" to make it run in background.
|
c*****t 发帖数: 1879 | 4 fg %%
If you have multiple jobs, type
jobs
to locate the job id and
fg id
【在 c*s 的大作中提到】 : : I know that. But this method is unable to bring back the : process and : see what happened before. I used a better command before but : forgot : it since I have not use Unix for long time.
|
l*l 发帖数: 225 | 5 Normally, in the OS such as VMS or Multics ( first UNIX in 1970's ),
you can use detaching and attaching to get tge process which lost from
/dev/tty.
But POSIX 1.doesn't support connect with a lost term( /dev/tty ). But
several software can do this job.
you can try " screen " or "pty" to get your contral of the jobs.
【在 c*s 的大作中提到】 : I forgot which command is for the following purpose. : Can anyone tell me about that? Thanks. : I remember there is a command which can put the current : process into background by pressing some kind of control : key combination. Later you can bring the background process : back. I don't mean that fg and bg.
|
c*s 发帖数: 51 | 6 Many thanks. "screen" is the one I used before.
【在 l*l 的大作中提到】 : Normally, in the OS such as VMS or Multics ( first UNIX in 1970's ), : you can use detaching and attaching to get tge process which lost from : /dev/tty. : But POSIX 1.doesn't support connect with a lost term( /dev/tty ). But : several software can do this job. : you can try " screen " or "pty" to get your contral of the jobs.
|