Page MenuHomeDevCentral

whom.sh
No OneTemporary

#!/bin/sh
# -------------------------------------------------------------
# Clean alternative to who
# Prints the usernames of connected users by alphabetical order
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Licence: Trivial work, not eligible to copyright
# Source file: roles/shellserver/user-session/files/whom.sh
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
who | awk '{print $1}' | sort | uniq

File Metadata

Mime Type
text/x-shellscript
Expires
Fri, Nov 6, 17:24 (4 d, 6 s ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4168690
Default Alt Text
whom.sh (688 B)

Event Timeline