lastlog

Show the most recent login of all users or of a given user. More information: <https://manned.org/lastlog>.

Debian Debian
RUN apt-get update && \ apt-get install -y login
Ubuntu
RUN apt-get update && \ apt-get install -y login
Alpine
RUN apk add shadow
Arch Arch Linux
RUN pacman -S --noconfirm shadow
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y login
Fedora
RUN dnf install -y shadow-utils-2
Raspbian
RUN apt-get update && \ apt-get install -y login
click the source code to copy install lastlog on any operating system with command-not-found.com