helper-scripts/lsusers.sh

5 lines
107 B
Bash
Executable File

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