O'Reilly logo

Windows 2000 Commands Pocket Reference by Æleen Frisch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

I/O Redirection

< file

Take standard input from a file.

> file1> file

Send standard output to a file.

>> file 1>> file

Append standard output to a file.

2 > file

Send standard error to a file.

2 >> file

Append standard error to a file.

> file 2 >&1

Combine standard output and standard error and send both to the same destination (use >> before file to append).

command1 | command2command1 0 > command2

Form a pipe, linking the standard output of command1 to the standard input of command2.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required