Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 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 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

Discuss five types of employee training.

Answered: 1 week ago

Question

Identify the four federally mandated employee benefits.

Answered: 1 week ago