Find last and list previous user login details in Linux

by rajesh 2009-11-04 21:40:31

Last Command:

last is the command name that will help you list all the login details of all users.

to list last 10 user login details, we will use the command as

last -10


Example Output:

root@host # last -10
%user% pts/0 115.184.92.48 Wed Nov 4 21:25 still logged in
%user% pts/2 122.164.228.41 Tue Nov 3 11:34 - 21:04 (09:30)

wtmp begins Tue Nov 3 11:34:06 2009

Tagged in:

1111
like
0
dislike
0
mail
flag

You must LOGIN to add comments