simple_shell
simple_shell copied to clipboard
Simple shell 1.0.9 history
-
[x] Implement the history built-in, without any argument
-
[x] The history built-in displays the history list, one command by line, preceded with line numbers (starting at 0)
-
[ ] On exit, write the entire history, without line numbers, to a file named .simple_shell_history in the directory $HOME
-
[ ] When the shell starts, read the file .simple_shell_history in the directory $HOME if it exists, and set the first line number to the total number of lines in the file modulo 4096