[unix]pipe

Thu May 08

typescript

Author:Noritaka

Astro

echo abc | wc
pipe inputs abc into wc as arguments

cat file1 file2 | sort | more

more: show contents like cat

wc: word count
wc enter
abc enter
ctrl + d end of file
1 1 4 : line word byte abc\n

unix