mirror of https://github.com/CrimsonTome/tldr.git
history: list last n commands from the history (#4138)
* Added history command sample * Update pages/common/history.md Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com> Co-authored-by: Zlatan Vasović <zlatanvasovic@gmail.com>client-spec/clarity
parent
d1227ba2e3
commit
fee169f50c
|
@ -6,6 +6,10 @@
|
|||
|
||||
`history`
|
||||
|
||||
- Display the last 20 commands:
|
||||
|
||||
`history {{20}}`
|
||||
|
||||
- Clear the commands history list (only for current `bash` shell):
|
||||
|
||||
`history -c`
|
||||
|
|
Loading…
Reference in New Issue