Search Results

Search: Posts Made By: wimaxpole
959
Posted By wimaxpole
thanks a ton jim... I had to modify a bit to...
thanks a ton jim...
I had to modify a bit to get my result
awk -F: ' (/^cd/ || /^ab/) && length($1)==5' /etc/passwd
959
Posted By wimaxpole
How to match certain users from password file?
I need to match all users starting from ab and cd. All the users are having five letters in total. ie: ab123
I tried below, but many other users with more than five letters are also appearing. I...
Forum: Solaris 12-05-2011
965
Posted By wimaxpole
How to view all the emails without scrolling over the screen
When I enter Solaris mail command, I get many emails on the screen on scrolling. How can I get it in one by one. BTW, if I delete the long list of emails by d command at the end, rest of the emails...
5,064
Posted By wimaxpole
Thanks itkamaraj..great help..
Thanks itkamaraj..great help..
5,064
Posted By wimaxpole
Thanks, can I add more than one user in exception...
Thanks, can I add more than one user in exception list? like;
for in in `who -u | nawk ' ! /^root/ ! /^wimax/ ! /^pole/ { if(substr($6,length($6)-1,length($6)) > 20) printf ("%s ",$1) }'`
5,064
Posted By wimaxpole
Thanks very much.. wonder full script.
Thanks very much.. wonder full script.
5,064
Posted By wimaxpole
Thanks for your replies... test1 pts/2 ...
Thanks for your replies...

test1 pts/2 Jun 28 11:10 0:21 14041
test2 pts/3 Jun 28 11:10 0:20 14055
test3 pts/4 Jun 28 11:11 0:20 14073 ...
5,064
Posted By wimaxpole
User idle time and kill
Hello..

I have many sleepy users on my Solaris box and need to kill them if they are idle for more than 45 minutes for example...I know who -u gives and the idle time but unable to make a awk line...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy