Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek4848 authored Jul 2, 2020
1 parent 0f5c85b commit 9361e1a
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
# delgroup

*Program in C to mimic the “delgroup” command on Linux. This command will delete a group. <br />
*It handles 2 files “gshadow” and “group”. Both these files are in some folder
specified by an environment variable PFILE. <br />
*The program takes all arguments as command line arguments<br />
- 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:<br />
i.)The two files as mentioned in the question should be present in a folder and change the path to the file accordingly prior to execution.<br />
ii.)Place all the program files in same folder.<br />
iii.)Use "mingw32-make -f makefile.mk" in windows and "make -f makefile.mk" in linux systems to execute the program.<br />
iv.)Then "./a.exe" or "./a.out" depending on OS to run the program<br />
v.)After compilation type "delgroup groupname" to execute the program successfully.<br />
##Instructions to execute the Program:
1. Clone this repository
```
git clone https://github.com/Abhishek4848/delgroup.git
```
2. The two files as mentioned in the question should be present in a folder and change the path to the file accordingly prior to execution.
3. Executing the program<br />
Windows
```
mingw32-make -f makefile.mk
```<br/>
Linux<br />
```
make -f makefile.mk
```
4. hen "./a.exe" or "./a.out" depending on OS to run the program
5. After compilation type "delgroup groupname" to execute the program successfully.

0 comments on commit 9361e1a

Please sign in to comment.