5 ms·
Marc Rochkind's Advanced Unix Programming is a very approachable book that walks you through, among other things, writing a shell. It's a good book, give it a
by luckydude 9y ago
Marc Rochkind's Advanced Unix Programming is a very approachable book that walks you through, among other things, writing a shell.
It's a good book, give it a read.
- vram22 9y agoYes, good recommendation. I have mentioned it here on HN before. I had got to read it when working in an HP joint venture, years ago. They (HP) used to ship a complementary copy of his book with every new HP-UX business server or workstation (CAD etc.) sold. IIRC the book even shows how to write a simple DBMS (not RDBMS), with client and server parts. And shows how to write all that code somewhat portably (in C) across some Unix versions that were common then. Quite an achievement. The book is still available (in an updated version - after 19 years!): http://basepath.com/aup/ http://basepath.com/aup/ It also shows how to set up pipes - using the pipe(), dup() etc. system calls. There are some subtleties involved in that. And that stuff is used for the shell he creates. Good stuff.
- vram22 9y agotypo: s/complementary/complimentary (though the other meaning also holds, in this case :)