Open main menu

CDOT Wiki β

Changes

Tutorial10: Shell Scripting - Part 1

131 bytes added, 10:49, 3 March 2021
INVESTIGATION 3: COMMAND SUBSTITUTION / MATH OPERATIONS
Since you do NOT have to declare the data-type of a variable (like in a compiled language such as "'''C'''"),<br> numbers would be stored as '''text''' in variables. Therefore, it is important to use the construct <span style="color:blue;font-family:courier;font-weight:bold">(( ))</span><br><br>We can include numbers, variables and math operations within this construct to <u>convert</u> numbers (stored as text) into '''numbers'''.
 
 
 
'''Perform the Following Steps:'''
 
# Confirm that you are located in your '''home''' directory in your Matrix account.<br><br>
=INVESTIGATION 4: USING CONTROL FLOW STATEMENTS =
13,420
edits