Find the answer to your Linux question:
Results 1 to 3 of 3
Hi!!!I want to find a command which sort a list tha contains the user's loggin tha they are logged in the system For example i write who|awk '{print$1}' but i ...
  1. #1
    Just Joined!
    Join Date
    May 2007
    Posts
    1

    Unhappy Please Help

    Hi!!!I want to find a command which sort a list tha contains the user's loggin tha they are logged in the system
    For example i write

    who|awk '{print$1}'

    but i also I don't want to see th sort list with all the logins together.I want each loggin appears to my screen when i push the button 'ENTER'
    I'm really sorry for the translation in English but i speak only greek

  2. #2
    Linux Guru Juan Pablo's Avatar
    Join Date
    Mar 2006
    Location
    /home/south_america/ecuador/quito
    Posts
    2,064
    Is this a homework question?
    Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
    Linux User #425940

    Don't PM me with questions, instead post in the forums

  3. #3
    Linux User
    Join Date
    Aug 2006
    Posts
    458
    Quote Originally Posted by Eirinaki View Post
    Hi!!!I want to find a command which sort a list tha contains the user's loggin tha they are logged in the system
    For example i write

    who|awk '{print$1}'

    but i also I don't want to see th sort list with all the logins together.I want each loggin appears to my screen when i push the button 'ENTER'
    I'm really sorry for the translation in English but i speak only greek
    if i understand you correctly, you want uniq. pls check the uniq man page

Posting Permissions

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