Changes

Jump to: navigation, search

Tutorial10: Shell Scripting - Part 1

25 bytes added, 09:41, 3 March 2021
INVESTIGATION 3: COMMAND SUBSTITUTION / MATH OPERATIONS
'''Command Substitution'''
Command Substitution is a method of running a Linux command that provides '''stdout which are '''<br>that is used as arguments '''argument(s)''' for <u>another </u> Linux command.
''For example:''
<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.
'''Perform the Following Steps:'''
13,420
edits

Navigation menu