LAST(1) LAST(1) last, lastb - last [options] [username|tty]... lastb [options] [username|tty]... last /var/log/wtmp ( -f) () . / ttys last . ( ttys last 0 last tty0.) SIGINT SIGQUIT last SIGINT ( Control-C) last . reboot . last reboot . lastb last /var/log/btmp . -a --hostlast . -d. -d --dns IP . IP . -f --file last /var/log/wtmp. -f . -F --fulltimes . -i --ip -d IP . -n, --limit number . -number -n number. -p --present time. time . -R --nohostname . -s --since time . -t . -t --until . -T --tab-separated tab ASCII . --time-format : notime short full iso. notime short full --fulltimes. iso ISO-8601. ISO . -w --fullnames / IP. 8 IP 16 . . -x --system . -h --help . -V --version . time : YYYYMMDDhhmmss "YYYY-MM-DD hh:mm:ss" "YYYY-MM-DD hh:mm" ( 00) YYYY-MM-DD ( 00:00:00) hh:mm:ss ( ) hh:mm ( 00) now today ( 00:00:00) yesterday ( 00:00:00) -number[smhd] (/// ) -number[smhd] : -5m -6h -2d. : -5min -6hours -2days. /var/log/wtmp, /var/log/btmp wtmp btmp. . . touch(1) ( touch /var/log/wtmp). wtmp. . utmp last. 32 256 . Miquel van Smoorenburg login(1) wtmp(5) init(8) shutdown(8) . last util-linux . util-linux 2.42.1 2026-05-18 LAST(1)