Page 2 of 2 First 12
  • Jump to page:
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2007
    Rep Power

    can you plz be more specific

    did you meen to do just "last"

    what option of the uniq command to choose

    what next
    how to send it to the head in order to get the top 4 entries??

    i am looking for a way to print the last 4 users (not logins)
    that entered the system
  2. #17
  3. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2006
    Rep Power
    I have not tried this so cannot say it will work, but what you need is to get the output of the last command processed to show just unique names - not sure if sort -u or uniq will do that - and then just list the top 4 (assuming the date/time order is retained!)
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo