#! /bin/sh # 9. Write a shell script to add a local group called administrator if # it does not already exist. Do not execute any external program if # the administrator group already exists. if grep -q administrator /etc/group then echo administrator group already exists else /usr/sbin/groupadd administrator fi