How to print list of users and groups on FreeBSD?
users and groups stored in /etc/group and /etc/passwd. To print:
awk -F":" '{print $1}' /etc/passwd
awk -F":" '{print $1}' /etc/group
for more details
awk -F":" '{print $0 $1 $2}' /etc/passwd
users and groups stored in /etc/group and /etc/passwd. To print:
awk -F":" '{print $1}' /etc/passwd
awk -F":" '{print $1}' /etc/group
for more details
awk -F":" '{print $0 $1 $2}' /etc/passwd