Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Sort GREP output

Status
Not open for further replies.

ATVrider

IS-IT--Management
Jun 27, 2007
9
US
Often I see who is logged into my SCO server with a ps -ef |grep runcbl |more because runcbl is the name of my object. I would like to sort the output alpha by the first argument of the output, username in this case.
thanks!
 
Have you tried this ?
ps -ef | grep runcbl | sort | more

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Hey that worked like I want!! I really don't care about sequence, I simply need to see duplicates and this does that. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top