一定没有, bg作用就是把挂起的作业放到后台继续执行.
If job control is enabled (see the description of set -m), the bg utility resumes suspended jobs from the current environment (see Shell Execution Environment ) by running them as background jobs. If the job specified by job_id is already a running background job, the bg utility has no effect and will exit successfully.
[Quote=引用 3 楼 sherlock_lai 的回复:]
我想,肯定有种办法不需要按ctrl+z,就能对它使用bg命令吧?
[/Quote]
一定没有, bg作用就是把挂起的作业放到后台继续执行.
If job control is enabled (see the description of set -m), the bg utility resumes suspended jobs from the current environment (see Shell Execution Environment ) by running them as background jobs. If the job specified by job_id is already a running background job, the bg utility has no effect and will exit successfully.