avatar
c*s
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.
avatar
m*m
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.

avatar
c*s
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.

avatar
c*t
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.

avatar
l*l
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.

avatar
c*s
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。