Question: Write a bash script that: Prompts a user to enter his/her user's first and last names, reads user inputs into 2 variables, checks if both
Write a bash script that: Prompts a user to enter his/her user's first and last names, reads user inputs into 2 variables, checks if both of the variables are not empty (check if the user entered at least 2 strings), prints user's last and first names (note reversed order), and exit with failure (value 1) and appropriate message if the user did not enter two strings. Your script should be named according to the following convention where Your Name should be replaced by the first letter of your first name combined with your last name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
