Open main menu

CDOT Wiki β

Changes

Tutorial12: Shell Scripting - Part 2

3 bytes removed, 09:09, 5 September 2020
Additional Loop Statements
'''Command substitution''' is a facility that allows a command<br>to be run and its output to be pasted back on the command line as arguments to another command.<br>Reference: https://en.wikipedia.org/wiki/Command_substitution
ExamplesUsage:
<span style="font-family:courier">command1 $(command2)<br>command1 [arguments from command2 output]</span>
13,420
edits