LAST(1) LAST(1) last, lastb - last [] [-...] [...] lastb [] [-...] [...] last /var/log/wtmp ( -f) ( ) . - / , last . , last 0 last tty0. SIGINT ( , -C) ,,SIGQUIT" , last ; SIGINT last . reboot . last reboot . lastb last, /var/log/btmp , . -a, --hostlast . --dns. -d, --dns - , , . . -f, --file last- /var/log/wtmp. --file , . -F, --fulltimes . -i, --ip --dns , . -; -n, --limit last- . -p, --present . --since --until . -R, --nohostname . -s, --since . , . . --until. -t, --until . -T, --tab-separated tab . --time-format notime, short, full, or iso. notime , short , full --fulltimes. iso ISO-8601 . , . -w, --fullnames Display full user names and domain names / IP addresses in the output. Domain names and IP addresses are truncated to 16 characters, and user names are truncated to 8 characters when this flag is not specified. An asterisk is set as the last character of truncated fields. -x, --system . -h, --help . -V, --version Display version and exit. : +-------------------------------------------+--------------------------------+ | | | +-------------------------------------------+--------------------------------+ |-- | | |:: | | +-------------------------------------------+--------------------------------+ |-- : | ( | | | | | | | | | 00) | +-------------------------------------------+--------------------------------+ |-- | ( | | | | | | | | | 00:00:00) | +-------------------------------------------+--------------------------------+ |:: | ( | | | | | | | | | ) | +-------------------------------------------+--------------------------------+ |: | ( | | | | | | | | | , | | | | | | 00) | +-------------------------------------------+--------------------------------+ | | | +-------------------------------------------+--------------------------------+ | | ( | | | | | | 00:00:00) | +-------------------------------------------+--------------------------------+ | | ( | | | | | | 00:00:00) | +-------------------------------------------+--------------------------------+ | | ( | | | | | | 00:00:00) | +-------------------------------------------+--------------------------------+ |+5 | | +-------------------------------------------+--------------------------------+ |-5 | | +-------------------------------------------+--------------------------------+ /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) For bug reports, use the issue tracker . last ,,util-linux" . util-linux 2.41 2025-03-29 LAST(1)