Skip to content

Instantly share code, notes, and snippets.

@smuthali
Created November 5, 2016 00:27
Show Gist options
  • Save smuthali/d3e2323926b2558319c462dbff9aa0ee to your computer and use it in GitHub Desktop.
Save smuthali/d3e2323926b2558319c462dbff9aa0ee to your computer and use it in GitHub Desktop.
Zookeeper myid
#!/bin/bash
echo ${RANDOM} > myid
exit $?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment