Answer Posted / jayachandran.g.r
it is used to use arithmatic operation in shell scripting
stntx: expr op1 opertor op2
where op1 and op2 may be any integer no(without any
decimalpoint)and operator can be
+ Addition
- Subtraction
/ division
% Modular
\* Multiplication
EX: $expr 1 + 3
o/p 4
| Is This Answer Correct ? | 31 Yes | 18 No |
Post New Answer View All Answers
What does sh mean?
What does .sh file contain?
Hello all, This is my assignment on shell scripting, can anyone help me regarding this ? Create a shell script which connects to the database In second shell script include the first script for the DB connection Create a table (PRADEEP_DATA) with 2 columns (name, value) In Third shell script include the first script for the DB connection And insert/delete the values from the Table, by accepting input from the user This functionality should be a menu driven Program: 1) Insert to the database a. Name b. value 2)Delete from the database a.Name b.value Exception handling needs to be taken care.
What are types of shells?
How do I run a script on mac?
Is shell scripting useful?
How will you copy a file from one machine to other?
how will you find the total disk space used by a specific user?
What is shell scripting?
What is the syntax of "nested if statement" in shell scripting?
What is the lifespan of a variable inside a shell script?
is this growing field and what is average package in this?
What does $$ mean in shell script?
What is eval in shell script?
Write down the syntax of "for " loop