Results 1 to 2 of 2

Thread: Trying to figure out the output of the 'last' command

  1. #1

    Trying to figure out the output of the 'last' command

    Hi,

    I tried the last command and got the following output, can any one please tell me what each piece of information means here, since I am a newbie. Thanks....


    [root@localhost ~]# last
    root pts/2 Mon May 7 13:39 still logged in
    root pts/2 Mon May 7 13:36 - 13:37 (00:00)
    root pts/2 Mon May 7 13:36 - 13:36 (00:00)
    root pts/2 Mon May 7 13:36 - 13:36 (00:00)
    root pts/2 Mon May 7 13:29 - 13:36 (00:06)
    root pts/1 Mon May 7 13:28 still logged in
    root :0 Mon May 7 13:28 still logged in
    reboot system boot 2.6.15-1.2054_FC Mon May 7 13:26 (00:24)

  2. #2
    last is meant to tell you a user login history. Typical usage might be "last <username>". It looks here as though you used no parameters so you are seeing everything.
    From left to right you have the user id, the terminal id, the login date and time, the logout time (if appropriate), and time spent logged int (if appropriate).

Similar Threads

  1. Replies: 0
    Last Post: 12-18-2005, 03:29 AM
  2. saving output of the dmesg |less command to Floppy or DOS
    By rioguia in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 06-26-2002, 01:53 AM
  3. stupid question that i cant figure out......
    By boblucci in forum Linux - General Topics
    Replies: 6
    Last Post: 04-19-2002, 12:03 PM
  4. Let's see you figure this out
    By phpgeek in forum General Chat
    Replies: 22
    Last Post: 02-11-2002, 09:01 PM
  5. Can you figure this out?
    By Feztaa in forum General Chat
    Replies: 18
    Last Post: 02-07-2002, 01:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •