lastcomm
Show last commands executed. More information: <https://manpages.debian.org/latest/acct/lastcomm.1.en.html>.
Install
- All systems
-
curl cmd.cat/lastcomm.sh
- Debian
-
apt-get install acct - Ubuntu
-
apt-get install acct -
Alpine
-
apk add acct - Kali Linux
-
apt-get install acct - CentOS
-
yum install psacct - Fedora
-
dnf install psacct - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install acct - Raspbian
-
apt-get install acct - Docker
-
docker run cmd.cat/lastcomm lastcommpowered by Commando
Show last commands executed. More information: <https://manpages.debian.org/latest/acct/lastcomm.1.en.html>.
-
Print information about all 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
© tl;dr; authors and contributors