Describe how you determined your logical flow for script


Problem

You will make first Bash script utilizing what you learned from watching the videos at A Cloud Guru listed under the reading section of this module. These videos give step by step instructions for:

1) Creating a .bash_profile
2) Creating a directory to house your scripts
3) Navigating to that directory
4) Creating a script file with a .sh extension
5) Changing the permissions on the file to allow it to be executed
6) Accepting parameters to your script
7) Comparing your parameters to a value
8) Using looping in your script
9) Printing out system values

You will be have to show 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.

First start by creating a flowchart that accurately depicts the logic for this script.

1) Put this flowchart in the appendix of your paper.

Next, using the server that you stood up or create a new server on A Cloud Guru.

1) Create a .bash_profile
2) Create a directory for your Bash scripts
3) Create the Bash script based on your flowchart
4) Grant execute permissions to that file
5) Execute the script with the correct information passed
6) Execute the script with NO information passed
7) Execute the script with the WRONG information passed

For each of these steps include a screenshot.

In a minimum 1-page Microsoft Word document, combine the above information with the following:

1) Describe how you determined your logical flow for the script.
2) Explain how easy or difficult it was to create the script, set permissions, debug, and run.
3) Place the completed script in the appendix of your paper.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Describe how you determined your logical flow for script
Reference No:- TGS03257024

Expected delivery within 24 Hours