Find the answer to your Linux question:
Results 1 to 2 of 2
I am a new member and i want to know : Which commands we use to finds out all the users who are currently logged in and prints out the ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    2

    I Need Your Helps In Commands

    I am a new member and i want to know :

    Which commands we use to finds out all the users who are currently logged in and prints out the user name and the IP address of the terminal from where each user is logged in.

    also i want to know how to print my own username and IP address, and If there is currently no user logged in, how can i display an appropriate message.

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Welcome to the forums!

    Please don't post duplicate threads on the forums because it's agains the forum rules to do so:

    http://www.linuxforums.org/forum/lin...ums-rules.html

    You can continue your discussion in your other thread.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

Posting Permissions

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