Fork system call
From Teknologisk videncenter
- Example of creating a Linux daemon process
check
heth@emb3:~/bin/htiot$ ps xo pid,ppid,pgid,sid,comm | grep -P '(screen|PPID)'
PID PPID PGID SID COMMAND
500011 1 500011 500011 screen