Command Substitution
In this lesson, you'll learn about command substitution and other ways of substituting commands.
How Important is this Lesson?
The contents of this lesson are vital if you intend to write or work on shell scripts.
Command Substitution Example
When writing bash scripts you often want to take the standard output of one command and ‘drop’ it into the script as though you had written that into it.
An example may help illustrate this idea. Type these commands:
Get hands-on with 1400+ tech skills courses.