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
Operator Task Script Output Operator binbash Calculate the sum of two integers with pre initialize v... View full answer
Get step-by-step solutions from verified subject matter experts
