Mini Project You Are Required To Do This Assignment On Your Own Skills. No Copying From Other Students Are Not Allowed. Write A Menu Driven Bash Script Using The Guidelines Given Below. Some Of The Commands And Syntax May Not Be Covered In Lectures. Please
access_timeOctober 30, 2019
perm_identity
Posted by Admin
folder_open
Solved Questions
Mini Project
You are required to do this assignment on your own skills. No copying from other students are not allowed.
Write a menu driven Bash script using the guidelines given below.
Some of the commands and syntax may not be covered in lectures. Please refer other sources to understand syntax and commands you need to complete this assignment.
This program takes user input and to perform simple arithmetic operations such as addition, subtraction, multiplication and division of any two integers.
Part I Script should contain the following tasks:
- Script file name: math.sh
- Clear the screen.
- Enter appropriate comments or descriptions
- Ask the user to input a value for each arithmetic calculations; for example, 1 for addition and 2 for subtraction, so on.
- Use a case statement condition and the user input, complete arithmetic operations.
- Print the result on the screen.
Part II Test your program.
- Give proper execute permission to run the script
Part III Project Submission Information
There are two ways you can submit your mini project.
First option:
- Include your screen shot of your script and the output of the script. Output for each operation should be included
Second Option:
- Upload your script to the Blackboard