Question: 3. Write a bash script that obtains the username and password from the input and compares them to admin and mystrongpass respectively. With respect to

 3. Write a bash script that obtains the username and password

3. Write a bash script that obtains the username and password from the input and compares them to "admin" and "mystrongpass" respectively. With respect to user input, an appropriate output message should be displayed on the screen. sample output 1 : Username:admin Password:Mystrongpass Invalid username or password. sample output 2 : Username:admin Password:mystrongpass Welcome admin. (10 Marks)

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!