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
160,478
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 My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month

You are now leaving Lynda.com and will be automatically redirected to LinkedIn Learning to start your free trial.