943,568 Members | Top Members by Rank

Ad:
Jul 3rd, 2009
0

Script to identify current users on the system

Expand Post »
I'd like to write a script to identify current users on the sytem with an indication of the actions they are performing. I only want to identify the users. Can someone please help?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ViLeNT is offline Offline
19 posts
since Apr 2009
Jul 3rd, 2009
0

Re: Script to identify current users on the system

need more info.... is this a windows system, unix, web app?
Reputation Points: 11
Solved Threads: 0
Newbie Poster
fayola is offline Offline
13 posts
since Jun 2009
Jul 6th, 2009
0

Re: Script to identify current users on the system

Click to Expand / Collapse  Quote originally posted by ViLeNT ...
I'd like to write a script to identify current users on the sytem with an indication of the actions they are performing. I only want to identify the users. Can someone please help?

The command 'who -ap' will list all the users currently logged in the system.

for more info on who, pls do type 'man who' on ur terminal.

now as per ur requirement, u can write a script mentioning the cmd inside and accordingly cut the output depending on ur requirement.
Reputation Points: 10
Solved Threads: 0
Light Poster
ermithun is offline Offline
29 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Shell Scripting Forum Timeline: Clicking Yes on Window
Next Thread in Shell Scripting Forum Timeline: modifying xml files using sed





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC