CLI Magic: For Geek Cred, Try These One-liners Jul 23, 2008, 22 :45 UTC (0 Talkback[s]) (4962 reads)
"The sorted list is passed to cut, where the d option indicates the field's delimiter character. cut breaks into pieces each line, and the first field f1 is the one that you need to display. That's better; it shows only usernames now. But you may not want to see all the system usernames, like apache, bin, and lp. If you just want human users, try this:"