![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| uniq command??? | skyineyes | UNIX for Dummies Questions & Answers | 2 | 05-28-2008 07:27 AM |
| using uniq and awk?? | amatuer_lee_3 | Shell Programming and Scripting | 13 | 05-17-2008 02:10 PM |
| Compare 2 files and give uniq output | rauphelhunter | Shell Programming and Scripting | 1 | 05-12-2008 05:47 PM |
| compare two col from 2 files, and output uniq from file 1 | pp56825 | Shell Programming and Scripting | 2 | 01-10-2008 11:10 AM |
| help on UniQ | vishal_ranjan | HP-UX | 0 | 06-21-2007 11:33 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
who - uniq output
Hi,
I'd like to have a script what takes the 'who' output and grabs the user names and outputs just the user name, and no duplicates. I know I could do something like: who | awk '{print $1}' | uniq -u but I'd like to stay away from using the 'uniq' comand and just use awk. Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|