1834457 Members
2998 Online
110067 Solutions
New Discussion

a who -u script

 
SOLVED
Go to solution
Nick D'Angelo
Super Advisor

a who -u script

This is probably going to be an easy one for you.

I would like to have a script where we can issue a who -u and have it sorted by the amount of idle time, ie field #6 I believe in a who -u.

Appreciate your time.
Always learning
2 REPLIES 2
John Poff
Honored Contributor
Solution

Re: a who -u script

Hi,

who -u | sort -k6

JP
Nick D'Angelo
Super Advisor

Re: a who -u script

I was trying to complicate things way overboard. Thanks for the simple reality check.

Nickd
Always learning