You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--locallast: Display the hostname in the last column. Useful in combination with the --dns option.
--dns: For non-local logins, Linux stores not only the host name of the remote host, but its IP number as well. This option translates the IP number back into a hostname.
--file: Tell last to use a specific file instead of /var/log/wtmp. The --file option can be given multiple times, and all of thespecified files will be processed.
--fulltimes: Print full login and logout times and dates.
--ip: Like --dns , but displays the host’s IP number instead of the name.
-number: Tell last how many lines to show. TODO: Still need to support -number. This is a limitation in clap: #2468 and #1210
--presenttime: Display the users who were present at the specified time. This is like using the options --since and --until together with the same time.
--nohostname: Suppresses the display of the hostname field.
--sincetime: Display the state of logins since the specified time. This is useful, e.g., to easily determine who was logged in at a particular time. The option is often combined with --until.
--untiltime: Display the state of logins until the specified time.
--time-formatformat: Define the output timestamp format to be one of notime, short, full, or iso. The notime variant will not print any timestamps at all, short is the default, and full is the same as the --fulltimes option. The iso variant will display the timestamp in ISO-8601 format. The ISO format contains timezone information, making it preferable when printouts are investigated outside of the system.
--fullnames: Display full user names and domain names in the output.
--system: Display the system shutdown entries and run level changes.
The text was updated successfully, but these errors were encountered:
To implement:
--locallast
: Display the hostname in the last column. Useful in combination with the --dns option.--dns
: For non-local logins, Linux stores not only the host name of the remote host, but its IP number as well. This option translates the IP number back into a hostname.--file
: Tell last to use a specific file instead of /var/log/wtmp. The --file option can be given multiple times, and all of thespecified files will be processed.--fulltimes
: Print full login and logout times and dates.--ip
: Like --dns , but displays the host’s IP number instead of the name.-number
: Tell last how many lines to show. TODO: Still need to support-number
. This is a limitation in clap: #2468 and #1210--present
time: Display the users who were present at the specified time. This is like using the options--since
and--until
together with the same time.--nohostname
: Suppresses the display of the hostname field.--since
time: Display the state of logins since the specified time. This is useful, e.g., to easily determine who was logged in at a particular time. The option is often combined with--until
.--until
time: Display the state of logins until the specified time.--time-format
format: Define the output timestamp format to be one of notime, short, full, or iso. The notime variant will not print any timestamps at all, short is the default, and full is the same as the--fulltimes
option. The iso variant will display the timestamp in ISO-8601 format. The ISO format contains timezone information, making it preferable when printouts are investigated outside of the system.--fullnames
: Display full user names and domain names in the output.--system
: Display the system shutdown entries and run level changes.The text was updated successfully, but these errors were encountered: