helper-scripts/lsusers.sh
Eric Torres 144190b1c9 Revert "Change interpreter from #!/usr/bin/bash to #!/bin/bash"
This reverts commit 9c776c34001939420b09f04453123de6d17c0d6a.
2020-06-22 11:17:29 -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)