Difference between revisions of "Last"

From wikieduonline
Jump to navigation Jump to search
 
Line 5: Line 5:
 
* <code>[[last reboot]]</code>
 
* <code>[[last reboot]]</code>
 
* <code>[[last]] [[shutdown]]</code>
 
* <code>[[last]] [[shutdown]]</code>
 +
 +
last
 +
root    [[pts]]/0        10.9.27.9      Mon Jan 24 11:27  still logged in
 +
root    pts/0        12.58.27.17    Fri Jan 21 10:35 - 11:49  (01:14)
  
  

Latest revision as of 12:28, 24 January 2022

last[1] list logins on the system


last
root     pts/0        10.9.27.9      Mon Jan 24 11:27   still logged in
root     pts/0        12.58.27.17    Fri Jan 21 10:35 - 11:49  (01:14)


File: /var/log/wtmp

last
last -x or --system Display the system shutdown entries and run level changes.

macOS:

last --help
last: illegal option -- -
usage: last [-#] [-t tty] [-h hostname] [user ...]
last -t tty

Related commands[edit]

See also[edit]

  • http://man7.org/linux/man-pages/man1/last.1.html
  • Advertising: