Question: Write bash scrip to test all Athematic and logical operators in Linux. Operator: Task Script Output + : add two number - : make decrement

Write bash scrip to test all Athematic and logical operators in Linux.

Operator: Task

Script

Output 

+ : add two number

 


- : make decrement operator 

 

 

* : Mutiply negative and positive number

 

 

/:  divide any number by zero

 

 

Less than: Compare two value 

 


Greater than: Compare two value

 

 

EquUniversityty: Compare two value 

 

 

Not equal: Compare two value

 


And: make two simple and gate 



Or: make two input or gate


 

Not: make 1 input not



Step by Step Solution

3.43 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Operator Task Script Output Operator binbash Calculate the sum of two integers with pre initialize v... View full answer

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 Operating System Questions!