Bash history

From wikieduonline
Revision as of 14:33, 25 January 2024 by Welcome (talk | contribs) (→‎Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

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: