Consider the /etc/groupfile that defines the groups to which users belong.
The format is:
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:
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.
Need help with this assignment or a similar one? Place your order and leave the rest to our experts!