October 2018
Beginner
794 pages
19h 23m
English
Lets set ourselves an interesting learning exercise: a small project. We want to implement, using C on the Linux OS of course, a very simple shell of our own. Lets call it our simpsh—simple shell—project.
The specification, for now at least is this: Display a prompt (say >>), accept a user command at the prompt, and execute it. This is the stopping condition: if the user enters quit, terminate (similar to typing logout, exit, or Ctrl + D on an actual shell process).
It seems pretty straightforward: ...
Read now
Unlock full access