helper-scripts/lsgroups.sh

5 lines
98 B
Bash
Executable File

#!/usr/bin/env bash
# List all groups in the system
sort <(awk -F ':' '{print $1}' < /etc/group)