Write a complete bash script that asks for a user name and uses the read command to accept the user name. (Use usernames C XXXXXXXXXXthrough c XXXXXXXXXXto test.) The script reports if the user is...


Write a complete bash script that asks for a user name and uses the read
command to accept the user name. (Use usernames C2456001 through
c2456030 to test.) The script reports if the user is logged in. Use the who
command to obtain a list of users logged in then use grep in an if then else
statement to match on the user name. Output whether that user is either
logged in or not logged in. (Usage: loggedIn.sh)



Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here