Nguyễn Trà
New member
How do you add two variables in Unix?
Answer
How to add two variables in shell script
Answer
How to add two variables in shell script
- initialize two variables.
- Add two variables directly using $(…) or by using external program expr.
- Echo the final result.