Explain the redirection operator.

Asked 15-Apr-2022
Viewed 428 times

1 Answer


0

  • A redirection operator is a special character that can be used with a command, such as a Command Prompt command or a DOS operation, to redirect the command's input or output.
  • When you run a command, the input comes from the keyboard, and the output goes to the Command Prompt window by default. Command handles refer to the inputs and outputs of commands.
  • Redirect operators are a fundamental but necessary feature of the Bash command line. To make your life as a Linux sysadmin easier, learn how to safely redirect input and output. The data is entered into the computer by stdin (typically the keyboard), and the output is sent to stdout (usually the shell)


Read More: Explain the ‘ls’ command in Linux.