A script
(Linux Question) How would I build a script that would assist in retrieving user information and meet the
following requirements: Script will be built in your ~/scripts directory and should be named userlookup.sh. On the second line from the top of the script, below the #!, add a commented line with your name, course, and date followed by a blank newline. Build your script so it takes the supplied first name of a user and returns the indicated output. The script should retrieve information for the user the script is run against and an error message if no user is found. Users to test will be Bob, Henry, and Notaperson. Bob and Henry should return the correct information and Notaperson should return an error message of no such person found (as there is no Notaperson user). 1. To run script input format: sh userlookup.sh bob
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"
![](https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img,w_320,h_80/http://academicheroes.com/wp-content/uploads/2018/09/order_now.png)