1755681 Members
5373 Online
108837 Solutions
New Discussion юеВ

last login

 
sandeep mathur
Respected Contributor

last login

how to see the last login user in the terminal.what is the command.
8 REPLIES 8
Abhirama.M.V
Occasional Advisor

Re: last login

hi..
check out this command 'ac'.
read man page of it.
bye..
Abhirama.M.V
Occasional Advisor

Re: last login

hi..
and try 'last' command also.
Naveen R
Occasional Advisor

Re: last login

check out 'last' command.Are you looking for somthing else

Alexander Chuzhoy
Honored Contributor

Re: last login

try the lastlog command.

lastlog|grep tty
anilkumar.bg
Occasional Contributor

Re: last login

Hi,
Check with the command last
This command shows listing of last logging users.
bye
Sp4admin
Trusted Contributor

Re: last login

You can use the following commands. Use man on "last" for more info.

#last
#lastb

sp,
nataraj.kn
Advisor

Re: last login

hai

last, lastb show listing of last logged in users.
Kapil Jha
Honored Contributor

Re: last login

if u want to know who waqs logged as root last few times you can run
#last root
this would provide u with inforation fetched in wtmp file.
BR,
Kapil
I am in this small bowl, I wane see the real world......