| | |
Script to identify current users on the system
![]() |
•
•
Join Date: Jun 2009
Posts: 29
Reputation:
Solved Threads: 0
•
•
•
•
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.
![]() |
Similar Threads
- Python script to identify NAT type (Python)
- In perl script system("cd c:\mnt"); is not working. (Perl)
- identify current user asp.net c# project (C#)
- Bash add user script (Shell Scripting)
- i need help! (Shell Scripting)
- Open In New Window Php (PHP)
- How to use admin passwords with "C" (C)
- Login used to work (ASP.NET)
- select current users country (HTML and CSS)
- Need Script to automatically upgrade a system's flash player. (Graphics and Multimedia)
Other Threads in the Shell Scripting Forum
- Previous Thread: Clicking Yes on Window
- Next Thread: modifying xml files using sed
| Thread Tools | Search this Thread |





