In order to use the output of a command, command1, as input to a filter, command2, you connect the commands using the pipe operator (|).
要将命令command1的输出作为过滤器command2的输入,您需要使用管道操作符(|)连接两个命令。
Stdin can also come from the standard output of another program, using the "|" (pipe) operator of the shell, as follows.
使用shell操作符“|”(pipe)也可以使标准输入来自另一个程序的标准输出,如下所示。
Stdin can also come from the standard output of another program, using the "|" (pipe) operator of the shell, as follows.
使用shell操作符“|”(pipe)也可以使标准输入来自另一个程序的标准输出,如下所示。
应用推荐