Linux session和进程组概述 - Linux程序员 - SegmentFault 思否
搞懂进程组、会话、控制终端关系,才能明白守护进程如何创建 - 知乎