วิธีที่ง่ายที่สุดคือเรียกใช้fgเพื่อนำไปยังส่วนหน้า:
$ help fg
fg: fg [job_spec]
Move job to the foreground.
Place the job identified by JOB_SPEC in the foreground, making it the
current job. If JOB_SPEC is not present, the shell's notion of the
current job is used.
Exit Status:
Status of command placed in foreground, or failure if an error occurs.
หรือคุณสามารถเรียกใช้bgเพื่อให้ดำเนินการต่อในพื้นหลัง:
$ help bg
bg: bg [job_spec ...]
Move jobs to the background.
Place the jobs identified by each JOB_SPEC in the background, as if they
had been started with `&'. If JOB_SPEC is not present, the shell's notion
of the current job is used.
Exit Status:
Returns success unless job control is not enabled or an error occurs.
หากคุณเพิ่งเข้าชมCtrl Zแล้วให้นำงานกลับมาทำงานfgโดยไม่มีข้อโต้แย้ง
fg telnetแม้ว่า มันบอกว่าTerminatedน่าจะเป็น b / c ของkillคำสั่งก่อนหน้าของฉัน