- Course
Bash Input/Output and Streams
Master Bash I/O by learning to redirect output, chain commands with pipelines, and provide input using heredocs, script arguments, read, and xargs.
- Course
Bash Input/Output and Streams
Master Bash I/O by learning to redirect output, chain commands with pipelines, and provide input using heredocs, script arguments, read, and xargs.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
Just run the command, that's all I need to do! Suddenly, you're neck-deep in cryptic errors and broken scripts. We've all been there. In this course, Bash Input/Output and Streams, you’ll learn to confidently work with input and output in the shell. First, you’ll explore redirecting STDOUT and STDERR to files.
Next, you’ll discover pipelines—how they pass data between commands using STDIN and STDOUT. Finally, you’ll learn all about STDIN and a myriad of ways to provide inputs. When you’re finished with this course, you’ll have a firm grasp on how Bash I/O streams work to reliably compose pipelines with predictable results!