Possible Duplicate:
What's the difference between the “group” and “group-” file?

I just changed a group name and noticed that

cat /etc/group

Includes the updated group name, but

cat /etc/group-

includes the old group name. How are the group and group- files different?

marked as duplicate by enzotib, Takkat, Jorge Castro, htorque, jrg Feb 16 '12 at 1:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • yes it is a duplicate. – Portablejim Nov 17 '11 at 8:26
up vote 2 down vote accepted

It is just a backup file that groupadd and similar programs use to store the previous state of the group file.

Not the answer you're looking for? Browse other questions tagged or ask your own question.