1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:26:01 +02:00

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>
This commit is contained in:
SirGlorg 2020-07-01 12:46:09 +02:00 committed by GitHub
parent d1227ba2e3
commit fee169f50c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,10 @@
`history`
- Display the last 20 commands:
`history {{20}}`
- Clear the commands history list (only for current `bash` shell):
`history -c`