Question: You will be creating a Bash script that will accept two arguments, a username and password. If the proper username and password is input, display
You will be creating a Bash script that will accept two arguments, a username and password. If the proper username and password is input, display the home directory and terminal type. If the input is incorrect, allow them to reenter the information. After failed attempts, inform the user that they do not have access to this information. If no information is passed, prompt the user for the information.
create a bashprofile
Create a directory for your Bash scripts
Create the Bash script based on your flowchart
Grant execute permissions to that file
Execute the script with the correct information passed
Execute the script with NO information passed
Execute the script with the WRONG information passed
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
