This project is for my UNIX course. Please let me know if you have experience with UNIX commands?
In this project, you use additional arithmetic operators in the ((expression)) commands.
The goal of this project is to reinforce your understanding of arithmetic operations.
1. Log in to the Linux system as a user, and then open a Terminal emulation window.
2. Create a shell script named Project3-7 located in a directory supported by the
File System Hierarchy Standard.
3. The script needs to perform the following pseudocode in the order shown:
Set a variable named “x” to 10
Set a variable named “y” to 100
Display the result of dividing “y” by “x” and place the
result into variable “t”
Display the result of dividing “y” by 0
Display the result of multiplying “y” by “x” and place the
result into variable “t”
Display the result of adding “y” and “x” and place the
result into variable “t”
Display the result of subtracting “x” from “y” and place the
result into variable “t”
Display the result of raising “y” to the power of 2 and
place the result into variable “t”
Display the result of taking the remainder of “y” divided
by “x” and place the result into variable “t”
4. Save the file, and then close the editor.
5. Execute the script, and then record the commands used.
6. Record or print your script.
7. Close your window, and then log out.