Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Starting from section 5.4, Implementing a shell, version 1

As it suggests, he adds features to the shell as he introduces the system calls needed. You can see the source here

http://basepath.com/aup/ex/group__AUP2ex.html#Chap. 5

See files sh0.c (for versions 1 2 3) and sh3.c for version 4.



Yes this looks nice. xv6 has a tiny shell as well:

https://pdos.csail.mit.edu/6.828/2016/xv6.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: