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
144,895
Views
Show More Show Less