Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 1,039 Posts 897 Joined 2009-03-01 15:34 17-year member UID 140302 Gender Male From 在地狱中仰望天堂
Status Offline
Command redirection operators (Redirection Operators) You can use redirection operators to redirect command input and output
> writes command output to a file or device (for example, a printer), instead of writing it in the command prompt window.
< reads command input from a file instead of from the keyboard.
>> appends command output to the end of a file without deleting the information in the file.
>& writes the output from one handle to the input of another handle.
<& reads input from one handle and writes it to the output of another handle.
| reads output from one command and writes it to the input of another command. Also called a pipe.