Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

3 bytes removed, 08:55, 16 March 2021
INVESTIGATION 3: COMMAND SUBSTITUTION / MATH OPERATIONS
'''Math Operations'''
Since you do NOT have to declare the '''data-type''' of a variable (as opposed to compiled program<br>such as the C-programming language), numbers would be stored as '''text''' in variables.<br>Therefore, it is important to use the construct <span style="color:blue;font-family:courier;font-weight:bold">(( ))</span> to <u>convert</u><br> numbers (stored as ''text'') into '''numbers'''.
We will now learn how to use this construct in order to perform math operations for shell scripts.
13,420
edits

Navigation menu