Files
cheatsheet-tldr/tldr/vertical-bar
2025-08-26 00:19:43 +00:00

18 lines
343 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# |
> Pipe data between programs.
> More information: <https://gnu.org/software/bash/manual/bash.html#Pipelines>.
- Pipe `stdout` to `stdin`:
`{{command}} | {{command}}`
- Pipe both `stdout` and `stderr` to `stdin`:
`{{command}} |& {{command}}`