help with linux short script, please see below, i needscript to dispay this output below
Your script should run without requiring any user input.
Your script should print output similar to that shown below:
Account Summary===============Username: rootGECOS: rootUser ID: 0Home Directory: /rootGroups: rootUsername: syncGECOS: syncUser ID: 5Home Directory: /sbinGroups: rootUsername: shutdownGECOS: shutdownUser ID: 6Home Directory: /sbinGroups: rootUsername: haltGECOS: haltUser ID: 7Home Directory: /sbinGroups: rootUsername: robGECOS: robUser ID: 1000Home Directory: /home/chrisGroups: chris msith
Your script should only produce output for user accounts wherethe shell has not been set to /sbin/nologin
Expert Answer
An answer will be send to you shortly. . . . .