13,420
edits
Changes
→INVESTIGATION 3: COMMAND SUBSTITUTION / MATH OPERATIONS
<span style="font-family:courier;font-weight:bold;">echo "The current date and time is: $(date)"</span>
Let's create a Bash shell script that uses command substitution that displays<br>'''text''' and values of '''environment variables''' in a series of <span style="font-family:courier;font-weight:bold;">echo</span> statements.