From 1041a29fdb6445ba978f4832b1aac3a158d75b66 Mon Sep 17 00:00:00 2001 From: lmazardo Date: Thu, 10 Oct 2019 05:38:13 +0200 Subject: [PATCH] lastcomm: add new page (#3086) (#3333) --- pages/linux/lastcomm.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/lastcomm.md diff --git a/pages/linux/lastcomm.md b/pages/linux/lastcomm.md new file mode 100644 index 000000000..98067578c --- /dev/null +++ b/pages/linux/lastcomm.md @@ -0,0 +1,20 @@ +# lastcomm + +> Show last commands executed. +> More information: . + +- Print informations about all of the commands in the acct (record file): + +`lastcomm` + +- Display commands executed by a given user: + +`lastcomm --user {{user}}` + +- Display information about a given command executed on the system: + +`lastcomm --command {{command}}` + +- Display information about commands executed on a given terminal: + +`lastcomm --tty {{terminal_name}}`