Prev | Current Page 894 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"

TXT
In this case, the output of the Dir command appears in MyFile.TXT. The second command uses
MyFile.TXT as input to the Sort command. The result is the same as the pipe example shown in
Figure 14.3.
Although you can only include one redirection symbol on a command line, you can use as many
pipes as needed to accomplish a task. This means that you can create a series of pipes to connect
any number of commands and create some interesting command sequences. For example, you can
combine the Dir, Sort, and More commands as shown here to provide output where you see one
display at a time (see the ???Using the More Utility??? section for details on the More utility).
Dir /A-D | Sort /+13 | More
Using the More Utility
The More utility is one of the few utilities that you never use by itself. You always use this utility
with some other utility or command. The More utility pauses the display so that you can see output
that normally requires multiple screens to display. For example, you can combine the More utility
with the Dir command to display the list of files in a directory one screen at a time. One of the most
common uses of the More utility is to provide a means of paging output from the Type command.


Pages:
882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906
trener nlp ceny żywca leczenie alkoholizmu Kołobrzeg aquilamed