Skip navigation

Use input-output redirection (>, >>, |, 2>, and more)

Use input-output redirection (>, >>, |, 2>, and more): Cert Prep: Red Hat Certified System Administrator (EX200)
Use input-output redirection (>, >>, |, 2>, and more): Cert Prep: Red Hat Certified System Administrator (EX200)

Whenever you want to take the output of a command and save it, you can. This is a functionality built into bash. All commands have two outputs: STDOUT and STDERR. You can redirect these both individually. To redirect STDERR by redirection, use 2>. If you only want to redirect the stdout, you could without touching the STDERR.

Resume Transcript Auto-Scroll
Skill Level Intermediate
6h 23m
Duration
30,117
Views
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now