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
Explain about the slow execution speed of shells?
What is awk script?
How to find duplicate record in file using shell script?
What is path in shell script?
What is sudo command?
Explain about echo command?
Is shell script a programming language?
What are the four fundamental components of every file system on linux?
What is a shell? · Types of shell · what is shell scripting?
What is bash used for?
How to get the last line from a file using just the terminal?
What is the crontab?
How can I send a mail with a compressed file as an attachment?
What are the different types of shell scripting?
What does $@ mean bash?