Process Substitution

In this lesson, you will learn about process substitution, a handy way to save time and make scripts more concise and elegant. What you’ll learn will also allow you to capture the output of a command into a variable so that you can use it in other contexts or access it later.

How Important is this Lesson?

I spent years reading and writing bash before I understood this concept, so this lesson can be skipped. However, since I learned about process substitution, I use it on the command line almost every day, so I recommend you learn it at some point.

Simple Process Substitution

Type this in to set files up for this lesson:

Get hands-on with 1200+ tech skills courses.