3
votes
2answers
148 views

Short, simple command to create a group if it doesn't already exist?

What is the cleanest way to modify this command in bash to only run if the group does not exist? groupadd somegroupname A one-liner would be best.
10
votes
1answer
7k views

Meaning of root:wheel

What does root:wheel mean in the following? chown root:wheel myfile