Skip to content

Instantly share code, notes, and snippets.

@danielribeiro
Created April 23, 2015 20:14
Show Gist options
  • Save danielribeiro/7a430454a65b31798283 to your computer and use it in GitHub Desktop.
Save danielribeiro/7a430454a65b31798283 to your computer and use it in GitHub Desktop.
echo binary data in unix
echo -n -e "\x00\x01\x02" > o
hexdump -C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment