Held: Tuesday, 6 May 2003
Summary: We conclude our investigation of processes in Unix by considering how the new processes might execute other programs.
dup2(pipexxx, STDIN_FILENO): Output: use
exec(programs, arg1, ..., argn, NULL);
Create a program that takes two command-line parameters, the name of a file and a string. It should then open four processes and three pipes.
grepto extract the lines with the given string.
sortto put the lines in order.
Tuesday, 7 January 2003 [Samuel A. Rebelsky]
I usually create these pages
on the fly, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Tue May 6 16:09:00 2003.
The source to the document was last modified on Mon Jan 20 12:41:07 2003.
This document may be found at