📄 l5.1b
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -