Next | System Programming in Perl | 15 |
For ps | grep the shell forks twice
It tampers with the open file tables before execing ps and grep
ps and grep don't have to know or to care
inetd pulls a similar trick
An arbitrary program is attached to a network socket
That program doesn't have to know or to care
Next | 15 |