Tag Info

New answers tagged

0

If I understand question 1 correctly, no, there's no stack or list of child processes. Somewhere in the structs that the kernel keeps around for a process, there's a PID field and a parent PID field. When a process exits, the parent PID of the exiting process gets a notification via a SIGCHLD (the default SIGCHLD handler is SIG_IGN, so nothing happens unless ...


0

This will work (do not type any extra spaces): command &>output.file



Top 50 recent answers are included