Difference between revisions of "~/.bash history"
Jump to navigation
Jump to search
m (Welcome moved page .bash history to ~/.bash history) |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | ~/.bash_history | ||
+ | Save every executed command to: <code>[[~/.bash_history]]</code> | ||
+ | export PROMPT_COMMAND='[[history -a]]' | ||
+ | |||
+ | |||
+ | == Related terms == | ||
* [[zsh]]: <code>[[.zsh_history]]</code> | * [[zsh]]: <code>[[.zsh_history]]</code> | ||
− | + | * <code>[[$HISTFILE]]</code> | |
− | + | * [[history -a]] | |
− | *[[$HISTFILE]] | ||
== See also == | == See also == |
Latest revision as of 14:29, 25 January 2024
~/.bash_history
Save every executed command to: ~/.bash_history
export PROMPT_COMMAND='history -a'
Related terms[edit]
See also[edit]
- Bash history:
history[ -a | -c | -r ]
,history --help
,~/.bash_history
,HISTFILE, HISTSIZE, HISTTIMEFORMAT, HSTR
Bash [ -c ]
,alias
,&&
, Bash history, Autocompletion,set
,unset
,export
,.bash_aliases, .bashrc and .bash profile
,PS1
,echo
,brace expansion
, Function,shopt
,trap
,set -e
,source
,PATH
,complete
,disown
,.hushlogin
,.bashrc
,builtin
,eval
,set
,$PATH
,$HOME
,TZ
,.profile
,-e, -i
,Builtin (Bash)
,mapfile
,~
, return (Bash), for, until,declare, dirname, basename, functions.sh
, Bash arithmetic expansion,shift, bash --rcfile, readonly, $1, $@
Advertising: