Question: Write a script called checking that will do the following: a. Take a command-line argument, a user's login name. b. Test to see if a
Write a script called checking that will do the following: a. Take a command-line argument, a user's login name. b. Test to see if a command-line argument was provided. c. Check to see if the user is in the /etc/passwd file. If so, the script will print: "Found " " in the /etc/passwd file." Otherwise, the script will print: "No such user on our system"
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
