如果我输入,怎么会发生:
cat /dev/urandom
那么输出数据将花费很长时间,但是:
cat /dev/urandom | head -c 10
输出在 10 个随机字节后结束,是否head指示以某种方式cat完成其输出?
head
cat
shell
shell ×1