From fee169f50ca128716896b3c33fc94af9629d412f Mon Sep 17 00:00:00 2001 From: SirGlorg Date: Wed, 1 Jul 2020 12:46:09 +0200 Subject: [PATCH] history: list last n commands from the history (#4138) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Added history command sample * Update pages/common/history.md Co-authored-by: Zlatan Vasović Co-authored-by: Zlatan Vasović --- pages/common/history.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/history.md b/pages/common/history.md index e98fa7c5bc..7fd4a743ec 100644 --- a/pages/common/history.md +++ b/pages/common/history.md @@ -6,6 +6,10 @@ `history` +- Display the last 20 commands: + +`history {{20}}` + - Clear the commands history list (only for current `bash` shell): `history -c`