Write a program in C to mimic the “addgroup” command on Linux. This command will add a new group. It has to handle 2 files “group” and “gshadow”. Both these files will be in some folder specified by an environment variable PFILE. The program has to take all arguments as command line arguments.
Please fix the following input errors: