Consider the /etc/groupfile that defines the groups to which users belong.
The format is:
GroupName:Password:GroupID:GroupList
This contains the names of each group on the system as well as the users in each group. Write a script named Lab4B.2.shthat prints the group name and a list of usernames for each group
Part II: An Average Score
Consider the file named data2 as shown below:
pchen72 10
jmaszk 5
bvbui 13
mtcrowle 50
mrchave334
This lists usernames and the respective score for each username. Write a script named Lab4B.3.shthat will calculate the average of the scores above and then display the percentage of rows above and below the average.