0 Standard input (usually input from the keyboard)
1 Standard output (usually output to the terminal screen)
2 Standard error output (usually output to the terminal screen)
Redirection </ strong> is a function that switches input / output to a file when the command is executed.
Pipe </ strong> is a function that can pass the output result of a command to the standard input of another command.
Recommended Posts