听起来比较别口:
直接看代码:
shell如下:
[[email protected]_linux ~]# </etc/passwd grep root root:x:0:0:root:/root:/bin/bash operator:x:11:0:operator:/root:/sbin/nologin [[email protected]_linux ~]# cat /etc/passwd | grep root root:x:0:0:root:/root:/bin/bash operator:x:11:0:operator:/root:/sbin/nologin [[email protected]_linux ~]# < <(echo this is a test) wc 1 4 15 [[email protected]_linux ~]# echo this is a test | wc 1 4 15 [[email protected]_linux ~]#
just do it .
时间: 2024-10-03 05:28:29