Skip to content

Instantly share code, notes, and snippets.

@burnsie7
Created April 10, 2020 02:00
Show Gist options
  • Save burnsie7/e043471ae8620b5706711ec68346286a to your computer and use it in GitHub Desktop.
Save burnsie7/e043471ae8620b5706711ec68346286a to your computer and use it in GitHub Desktop.
echo json to udp
#!/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