grep with both input and out redirected
Answers
Answered by
0
Answer:
When working with console applications redirecting of program input and output is a must. It is used for piping one program's output to another's input, generating files with output for further examination and so on. Every program has three standard streams - one for reading input data (STDIN), one for output data (STDOUT) and one for outputting errors (STDERR). Here are a few examples how it's done on both Windows (cmd) and Linux (bash) interpreters.
Explanation:
Similar questions