Difference between revisions of "History -a"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
-a append history lines from this session to the [[history file]] | -a append history lines from this session to the [[history file]] | ||
+ | history -a; ls -al ~/.bash_history | ||
[[history -c]] | [[history -c]] |
Revision as of 14:25, 25 January 2024
-a append history lines from this session to the history file
history -a; ls -al ~/.bash_history
history -c history -r
See also
- Bash history:
history[ -a | -c | -r ]
,history --help
,~/.bash_history
,HISTFILE, HISTSIZE, HISTTIMEFORMAT, HSTR
Advertising: