mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-25 14:52:31 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/linux/mux
Normal file
25
tldr/linux/mux
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# mux
|
||||
|
||||
> Intercept and multiplex streams of input events.
|
||||
> More information: <https://gitlab.com/interception/linux/tools/-/tree/master?ref_type=heads#mux>.
|
||||
|
||||
- Create a new muxer with a specified name:
|
||||
|
||||
`mux -c {{muxer_name1 muxer_name2 ...}}`
|
||||
|
||||
- Set the muxer's internal queue size (default is 100):
|
||||
|
||||
`mux -s {{size}}`
|
||||
|
||||
- Read input from a named muxer (can be repeated in "switch mode"):
|
||||
|
||||
`mux -i {{input_muxer_name}}`
|
||||
|
||||
- Write output to a named muxer (can be repeated):
|
||||
|
||||
`mux -o {{output_muxer_name}}`
|
||||
Reference in New Issue
Block a user