helper-scripts/lsusers

5 lines
101 B
Bash
Executable File

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