Using Shell Pipes
up
, a tool for writing Linux pipes with instant live preview. - up / HN
see also
- Pipe Viewer - add a progress bar to most command-line programs
- How to redirect output to a file and stdout - The command you want is named tee:
foo | tee output.file
-
What does ‘pee’ in moreutils do? - bash doesn’t need pee, it can open shell commands as files
cat file |tee >(sort -u > sorted) >(sort -R > unsorted)
- How fast are Linux pipes anyway? (blog) / HN - explore how Unix pipes are implemented in Linux by iteratively optimizing a test program that writes and reads data through a pipe.
Written on March 31, 2021, Last update on October 17, 2024
shell
pipe
cli
blog-code