Bash history

From wikieduonline
Revision as of 09:44, 17 September 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search

Bash command history feature allows to recall, edit and rerun previous commands. Also allows commands to be saved using the history -a command[1][2].

Variables to control Bash History:

Usage

  • Basic example:
export PROMPT_COMMAND='history -a'

Activities

  1. Install https://github.com/ohmybash bash customization
  2. Review output from history command

Other terms

See also

Advertising: