Using Shell Pipes
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)
Written on March 31, 2021, Last update on February 4, 2023
pipe
cli
shell