由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - A Unix question
相关主题
In command line mode of UNIX, how to email an attached file?ThanksRe: 为什么emacs自动给我加^M.
关于nohup的问题Re: 怎么在UNIX下面放CD?
再次急问: *.tgz 文件怎么解?books about advanced UNIX command
How to use the command history in SUN?在unix下怎么听CD亚
which shell is the best among csh, ksh, bsh?[转载] how to see which port in use?
HELP:a problem about VMS remote archiveHow to remove a line from a file?
XV (X Window Viewer) for MS Windows?pine中的中文输入问题
[转载] Unix/Posix system programming training帮帮忙,用C作一个SHELL
相关话题的讨论汇总
话题: unix话题: process话题: command话题: background话题: fg
进入Unix版参与讨论
1 (共1页)
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.

1 (共1页)
进入Unix版参与讨论
相关主题
帮帮忙,用C作一个SHELLwhich shell is the best among csh, ksh, bsh?
为什么我就是不会写Shell script?HELP:a problem about VMS remote archive
What's the quickest way to change various filenames with same format under unix?XV (X Window Viewer) for MS Windows?
UNIX dummy Questions?[转载] Unix/Posix system programming training
In command line mode of UNIX, how to email an attached file?ThanksRe: 为什么emacs自动给我加^M.
关于nohup的问题Re: 怎么在UNIX下面放CD?
再次急问: *.tgz 文件怎么解?books about advanced UNIX command
How to use the command history in SUN?在unix下怎么听CD亚
相关话题的讨论汇总
话题: unix话题: process话题: command话题: background话题: fg