mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 22:02:00 +00:00
Update cheatsheets
This commit is contained in:
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Send the contents of a file (`data.txt`), by reading from `stdin` and send the entire input as a message and publish it to `sensors/temperature` topic:
|
||||
|
||||
`mosquitto_pub {{[-t|--topic]}} {{sensors/temperature}} {{[-s|--stdin-file]}} < {{data.txt}}`
|
||||
`mosquitto_pub < {{data.txt}} {{[-t|--topic]}} {{sensors/temperature}} {{[-s|--stdin-file]}}`
|
||||
|
||||
- Read newline delimited data from `stdin` as a message and publish it to `sensors/temperature` topic:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user