Changes

Jump to: navigation, search

Tutorial12: Shell Scripting - Part 2

4 bytes added, 10:54, 29 December 2020
Additional Loop Statements
This creates a problem if you want to perform math operations. In order to convert values stored as text in the shell to binary numbers, you need to use a command in order to accomplish that task.
The older method is to use the '''expr''' command. For example Example:
<pre style="font-weight:bold;font-family:courier;">
</pre>
A short-cut to convert text values to binary numbers is to contain within a double set of round brackets: '''(( ))'''
Example:
13,420
edits

Navigation menu