Support Options

Submit a Support Ticket

Home Teaching Materials Playing with shells in C++ About

Playing with shells in C++

By David A Saenz

Purdue University

Published on


Although simple, this example portrays the essential parts of a shell program. In this example we can appreciate how other examples like the tokenizer can get merged with new code to create a new program. Also a basic introduction to the creation of child processes is exemplified. Lastly, this program has got some small bugs, but serves as a basic model for later improvement.


David Saenz

Sponsored by

NCN Project, Purdue University

Cite this work

Researchers should cite this work as follows:

  • David A Saenz (2012), "Playing with shells in C++,"

    BibTex | EndNote

Tags, a resource for nanoscience and nanotechnology, is supported by the National Science Foundation and other funding agencies. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.