Five ways to use redirect operators in bash
Redirect operators are a basic but essential part of working at the bash command line. See how to safely redirect input and output to make your Linux sysadmin life easier.
Damon Garn
Tue, 12/29/2020 at 11:06pm
Image
Photo by Luan Oosthuizen from Pexels
Data is entered into the computer via stdin (usually the keyboard), and the resulting output goes to stdout (usually the shell). These pathways are called streams. However, it’s possible to alter these input and output locations, causing the computer to get information from somewhere other than stdin or send the results somewhere other than stdout. This functionality is referred to as redirection.
Topics:
Linux
Bash
Scripting
Read More at Enable Sysadmin