l5.1b
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1B 代码 · 共 23 行
1B
23 行
#printIt seems silly to use a temporary file when all that's reallyneeded is to take the output from one program like "ls",and pass it directly to the input of another, like "wc".One of the original contributions of Unix is a cleanway to do this, called a "pipe". You can connect twoprograms with a pipe like this: ls | wcand the output of the first program goes into the input ofthe second without any intervening file.Try this pair of commands in a pipeline.Try an ordinary "ls" command too, to verify that yougot the right answer. Then type "ready".#create X1#copyin#user#uncopyingrep 'ls *| *wc' .copy >/dev/null#log#next5.1c
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?