A recovery mechanism for shells

Creative Commons License

HOLYER I., Pehlivan H.

COMPUTER JOURNAL, vol.43, no.3, pp.168-176, 2000 (Peer-Reviewed Journal) identifier identifier

  • Publication Type: Article / Article
  • Volume: 43 Issue: 3
  • Publication Date: 2000
  • Doi Number: 10.1093/comjnl/43.3.168
  • Journal Name: COMPUTER JOURNAL
  • Journal Indexes: Science Citation Index Expanded, Scopus
  • Page Numbers: pp.168-176


An undo facility is an essential component of most interactive applications. In current operating system shells, whether textual or graphical, such facilities are typically very poor. Algorithms are presented for adding a recovery mechanism to a shell which allows previous commands to be selectively undone and redone, and previous versions of files to be recovered.