Question: Please help me... Create a Bash script that will accept two arguments, a username and password. If the proper username and password is input, display

Please help me...

Create 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 re-enter the information. After 3 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 .bash_profile Create a directory for your Bash scripts Create the Bash script based on above info 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!