Question: Task 1 : Simple Calculator Write a Bash script named simple _ calculator.sh that: 1 . Prompts the user to enter two numbers. 2 .

Task 1: Simple Calculator
Write a Bash script named simple_calculator.sh that:
1. Prompts the user to enter two numbers.
2. Asks the user to choose an operation: addition, subtraction, multiplication, or
division.
3. Calculate the result and display it.
Task 2: File Permissions Checker
Write a Bash script named file_permissions_checker.sh that:
1. Prompts the user to enter the name of a file.
2. Check the files permissions (read, write, execute).
3. Displays which permissions are granted to the user for the file. If the file does not
exist, display an appropriate error message.
Submission Instructions:
1. Write the scripts in separate .sh files.
2. Test your scripts to ensure they run without errors.
3. Submit your scripts in iLearn.

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 Programming Questions!