Skip to content

Simple shell 1.0.9 history #21

@edward0rtiz

Description

@edward0rtiz
  • Implement the history built-in, without any argument

  • 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

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions