mirror of https://github.com/CrimsonTome/tldr.git
Merge pull request #825 from matkoniecz/history
add explanation how to fully erase bash shell historywaldyrious/alt-syntax
commit
c79571b553
|
@ -6,6 +6,10 @@
|
||||||
|
|
||||||
`history`
|
`history`
|
||||||
|
|
||||||
- Clear the commands history list (only for `bash`):
|
- Clear the commands history list (only for current `bash` shell):
|
||||||
|
|
||||||
`history -c`
|
`history -c`
|
||||||
|
|
||||||
|
- Overwrite history file with history of current `bash` shell (typically combined with `history -c` to completely erase history):
|
||||||
|
|
||||||
|
`history -w`
|
||||||
|
|
Loading…
Reference in New Issue