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
Write a command sequence to find all the files modified in less than 2 days and print the record count of each.
How to debug the problems encountered in the shell script/program?
What is the syntax of while loop in shell scripting?
How do we create command aliases in a shell?
What is the use of a shebang line?
What language is used in terminal?
What are the advantages of using shell scripts?
How do I open the shell in cmd?
What is k shell?
What is a shell in operating system?
What is a batch file used for?
What does path stand for?
How do scripts work?
What exactly is a shell?
How do I stop script errors?