Difference between revisions of "~/.bash history"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
  ~/.bash_history
 
  ~/.bash_history
 +
 +
Save every executed command to: <code>[[~/.bash_history]]</code>
 +
export PROMPT_COMMAND='[[history -a]]'
  
  
Line 5: Line 8:
 
* [[zsh]]: <code>[[.zsh_history]]</code>
 
* [[zsh]]: <code>[[.zsh_history]]</code>
 
* <code>[[$HISTFILE]]</code>
 
* <code>[[$HISTFILE]]</code>
 +
* [[history -a]]
  
 
== See also ==
 
== See also ==

Latest revision as of 14:29, 25 January 2024

Advertising: