Which command will push the current foreground job to the background?

Trường Phan

New member
Which command will push the current foreground job to the background?
A. bg
B. fg
C. ctrl-Z
D. kill
 
Answer: a
Explanation: If we’d suspended a job using ctrl-Z then after that we can use the bg command to push the current foreground job to the background. For example,
Code:
$ bg
[1]     sort  abd.index  >  mash.index &   // this job has been sent to the background. [1] 
// indicates job number 1.
 

Tìm kiếm

Back
Top