Live Chat Help Support Software
WebTop

Linux command Last by live chat help support software expert mioot.com

Linux command Last - Help with Linux syntax & live chat help support software solution provider for business websites by mioot.com

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

last

 

last [options] [username] [ttynumber]

Display a list of the most recent logins, taken from the file /var/log/wtmp by default. If you specify a tty number or username, the output will display only the logins for that user or terminal.
Options
-n number, -number

Choose how many lines of logins to display. Thus, last -7 or last -n 7 displays seven lines.

-R

Do not show the hostname from which logins originated.

-a

Display the hostname from which logins originated.

-d

Display both IP address and hostname.

-f filename

Get the list of logins from a file you choose. The default source is /var/log/wtmp.

-i

Display IP address and hostname. Display the IP address in the numbers-and-dots notation.

-o

Read an old-style (libc5 application) wtmp file. Not likely to be useful on newer systems.

-x

Display shutdown messages and runlevel messages.

 

How would you rate the usefulness of this content?
1 2 3 4 5
Poor Outstanding
Spam Verification
Spam Verification Code

Content rating:




people have rated this content.

 
If you are having trouble in using Last linux command , please live chat with our Linux expert and web hosting live support professional 24X7 for online live help 24x7.


Related Linux commands
  lpinfo
ld
less
last
lastb
losetup
locate
lsmod
lftp
lesskey
ln
login
lftpget
logrotate
lpmove
lpr
lspci
lpstat
lastlog
lockfile
look
logname
ls
ldd
lpq
ldconfig
locale
lsattr
link
lsusb
lpadmin
loadkeys
lprm
logger
 
   
Live chat software user manual
Live chat software for live support
Online chat software