Linux show last login user

Basic Linux Command Example: 

 

How to show last login on Linux Fedora

 

   The Linux last command can be very useful to show last login user on the system.  The example below show the execution of Linux last command on Linux Fedora system.

 

Show last login user

 

1.  Open Linux  shell terminal Application --> System Tools --> Terminal.

fedora terminal

 

2.  How to show the last login user, just type in last command and hit 'Enter' key on Linux terminal..  as show on example below.

last command

[root@localhost ~]# last

jason    pts/0        :0               Sat Mar 24 00:13   still logged in   

jason    tty1         :0               Sat Mar 24 00:11   still logged in   

reboot   system boot  2.6.42.9-2.fc15. Sat Mar 24 08:08 - 01:35  (-6:-32)   

jason    pts/0        :0               Fri Mar 23 00:06 - 02:03  (01:56)    

jason    tty1         :0               Fri Mar 23 00:02 - 02:04  (02:01)    

reboot   system boot  2.6.42.9-1.fc15. Fri Mar 23 08:01 - 02:04  (-5:-57)   

jason    tty1         :0               Wed Mar 21 20:53 - 02:47  (05:54)    

==========================

jason    pts/0        :0               Sat Feb 11 17:05 - 17:46  (00:40)    

jason    tty1         :0               Sat Feb 11 17:04 - 17:46  (00:42)    

reboot   system boot  2.6.41.10-3.fc15 Sun Feb 12 01:03 - 17:47  (-7:-16)   

jason    pts/0        :0               Sat Feb 11 01:35 - 02:28  (00:52)    

jason    tty1         :0               Fri Feb 10 23:51 - 02:29  (02:38)    

reboot   system boot  2.6.41.10-3.fc15 Sat Feb 11 07:48 - 02:30  (-5:-18)   

jason    pts/2        :0               Fri Feb 10 01:53 - 02:33  (00:40)    

jason    pts/1        :0               Fri Feb 10 01:04 - 02:34  (01:29)    

jason    pts/0        :0               Fri Feb 10 00:43 - 02:33  (01:50)    

 

wtmp begins Fri Feb 10 00:43:38 2012

[root@localhost ~]# 

 

Keywords: last command, last login, last login user