Created
April 10, 2020 02:00
-
-
Save burnsie7/e043471ae8620b5706711ec68346286a to your computer and use it in GitHub Desktop.
echo json to udp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
__JSON=' | |
{ | |
"key1":"value1", | |
"key2":"value2" | |
} | |
' | |
echo $__JSON >/dev/udp/localhost/10518 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment