7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello guys !
I tried a script to list all the active users in the current server in AIX
who | grep '^user'
this displays the entire line ... All I need is only the user list
I found a command for linux using grep -o word
grep -o was not recognized in AIX
Can you guys help me out ?
Use... (2 Replies)
Discussion started by: varun aravinth
2. UNIX for Advanced & Expert Users
I'm quite new to ksh scripting, can someone help me with this.
I need to create a script that list the files from a user input date range.
e. g. format of file:
*c1*log.2012-12-22-14-00*... (1 Reply)
Discussion started by: chococrunch6
3. UNIX for Dummies Questions & Answers
When I use who it shows who is online and from what time they logged in but is there a way I can see the last time someone was logged on if they aren't online? Is it with the who command?
thx (11 Replies)
Discussion started by: subway69
4. UNIX for Advanced & Expert Users
in a multi user system of 3 users X,Y,Z, if i know that X is presently online, is it possible to determine for how long has he been online? i mean the time duration (3 Replies)
Discussion started by: arindamlive
5. Shell Programming and Scripting
I have a situation where I want to ignore few users from list of users and print rest of user in log file.
say, I want to ignore aaa, bbb, ccc, ddd .. ppp from list of 20 user (do not want to include)
What is the good command or any script?
Thanks in advance. (1 Reply)
Discussion started by: sumit30
6. Shell Programming and Scripting
cut -d: -f1,3 /etc/group >rpt.out
I have a doubt in perl. right i am getting list of group user id into rpt.out file. instead i need to store it as an array in perl script. could you please tell me how can i get list of user into an array in perl script..
thanks in advance. (1 Reply)
Discussion started by: solo123
Can anyone please tell me how can i check the availability of the online user in a client-server environtment.
This is for a program where lakhs of client are connected to the server and the server has to check the availability of the every client in every minute.
So polling every client... (0 Replies)
Discussion started by: shushilmore