New extension: History (Shell)

The next extension for the Shell challenge is now live: History.

History allows you to recall and re-run previously entered commands.

Once you complete this extension, your shell implementation will be able to keep track of past commands and navigate through command history using the up/down arrow keys.

$ ls dist/
main.out
$ cd dist/
$ ls
main.out
$ history 
    1  ls dist/
    2  cd dist/
    3  ls
    4  history 
$ 

Here’s the stage breakdown:

Please give this a try and let us know how it can be improved! @Arpan-206 (author of this extension) and I will be available here to help out!

1 Like