Difference between foreground job and background job

在Linux中,前台作业和后台作业有什么区别?


In a foreground job, all of your input is directed to the process's stdin (including the SIGINT that is generated when you press CTRL-C , and that's why you can still kill the process if it's in the foreground).

In a background job your input is directed to the shell process instead, and that is why you see the shell prompt and you can execute commands.


这很简单,并在这里解释:http://linuxreviews.org/beginner/jobs/

链接地址: http://www.djcxy.com/p/91442.html

上一篇: DocumentDB自动生成的ID:GUID或UUID? 哪个变种?

下一篇: 前台工作和后台工作的区别