helper-scripts/lsusers.sh
2020-06-07 04:38:56 -07:00

5 lines
103 B
Bash
Executable File

#!/usr/bin/bash
# List all users on the system
sort --unique <(awk -F ':' '{print $1}' < /etc/passwd)