Page MenuHomeDevCentral

whom
No OneTemporary

#!/bin/sh
# -------------------------------------------------------------
# Clean alternative to who
# Prints the usernames of connected users by alphabetical order
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Author: Sébastien Santoro aka Dereckson
# Created: 2015-12-30
# Licence: Trivial work, not eligible to copyright
# -------------------------------------------------------------
who | awk '{print $1}' | sort | uniq

File Metadata

Mime Type
text/x-shellscript
Expires
Fri, Nov 6, 20:03 (2 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4188409
Default Alt Text
whom (486 B)

Event Timeline