Back
I want to create an administrator web page that has the list of Linux accounts’ group names. Can anyone tell me if there is a simple way other than /etc/group which parses the entire readable file?
Use this command below to list all local groups:
cut -d: -f1 /etc/group | sort
If you want to learn more about Linux, then go through this Linux tutorial by Intellipaat for more insights.
31k questions
32.8k answers
501 comments
693 users