Difference between revisions of "~/.bash history"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
~/.bash_history | ~/.bash_history | ||
+ | |||
+ | Save every executed command to: <code>[[~/.bash_history]]</code> | ||
+ | export PROMPT_COMMAND='[[history -a]]' | ||
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: