Raffael Asked: 2018-02-27 05:35:12 +0800 CST 如何测量管道数据的大小? 19 我想做这样的事情: > grep pattern file.txt | size -h 16.4 MB 或相当于: > grep pattern file.txt > grepped.txt > ls -h grepped.txt 16.4 MB > rm grepped.txt (虽然这会有点不方便) 那可能吗? pipe