Skip to content

Abhishek4848/delgroup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

delgroup

  • Program in C to mimic the “delgroup” command on Linux. This command will delete a group.
  • It handles 2 files “gshadow” and “group”. Both these files are in some folder specified by an environment variable PFILE.
  • The program takes all arguments as command line arguments

Instructions to execute the Program:

  1. Clone this repository
git clone https://github.com/Abhishek4848/delgroup.git
  1. Change directory to the program folder
cd delgroup
  1. Executing the program
  • Windows
mingw32-make -f makefile.mk
./a.exe
  • Linux
make -f makefile.mk
./a.out
  1. After compilation type "delgroup groupname" to execute the program successfully.
delgroup groupname

About

A C program to mimic "delgroup" linux command

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published