mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-28 22:44:54 +02:00
Merge pull request #825 from matkoniecz/history
add explanation how to fully erase bash shell history
This commit is contained in:
commit
c79571b553
1 changed files with 5 additions and 1 deletions
|
@ -6,6 +6,10 @@
|
|||
|
||||
`history`
|
||||
|
||||
- Clear the commands history list (only for `bash`):
|
||||
- Clear the commands history list (only for current `bash` shell):
|
||||
|
||||
`history -c`
|
||||
|
||||
- Overwrite history file with history of current `bash` shell (typically combined with `history -c` to completely erase history):
|
||||
|
||||
`history -w`
|
||||
|
|
Loading…
Add table
Reference in a new issue