mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 04:58:52 +00:00
Update cheatsheets
This commit is contained in:
17
tldr/vertical-bar
Normal file
17
tldr/vertical-bar
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# Vertical bar
|
||||
|
||||
> 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}}`
|
||||
Reference in New Issue
Block a user