What is a diversion operator? – Knowligent
What is a diversion operator?

What is a diversion operator?

HomeHow to, TechWhat is a diversion operator?

A redirection operator is a special character that can be used with a command, such as a command prompt command or DOS command, to redirect either the input to the command or the output of the command.

Linux for Beginners – 04 Input and Output Redirection

By default, when you execute a command, the input comes from the keyboard and the output is sent to the Command Prompt window. Command input and output are called command handles.

The table below lists all available redirection operators for Windows and MS-DOS commands. However, the redirection operators > and >> are by far the most used.

There are two other redirection operators, >& and <&, but these mainly concern more complicated redirections involving command handles.