title: History implementation in a simple shell program in c
body: <p>i'm new and learning c on my own. i managed to write a simple shell code in c but my problem now is to have commands entered stored so that when entering a command "history" the recently entered commands are displayed on screen. a sample code or any materials to read to help me have my shell have history will be appreciated. </p>