helper-scripts/lsusers.sh

5 lines
99 B
Bash
Raw Normal View History

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