linux中如何能从ctrl+z中恢复原有进程?
在测试命令过程中,按了 ctrl+z,原有进程被挂起,出现命令行。请问如何将原有进程恢复?
Answers
键入
fg
然后敲击回车 ;D
fg [jobspec]
Resume jobspec in the foreground, and make
it the current job. If jobspec is not
present, the shell’s notion of the current
job is used. The return value is that of
the command placed into the foreground, or
failure if run when job control is dis-
abled or, when run with job control
enabled, if jobspec does not specify a
valid job or jobspec specifies a job that
was started without job control.