helper-scripts/lsusers.sh
2018-12-15 21:25:42 -08: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)