Skip to content

Instantly share code, notes, and snippets.

@zenchild
Last active August 29, 2015 14:08
Show Gist options
  • Save zenchild/d2da66732cbc8ca8ac32 to your computer and use it in GitHub Desktop.
Save zenchild/d2da66732cbc8ca8ac32 to your computer and use it in GitHub Desktop.
Set a random TZ variable for testing
TZ_SIGN=('-' '+')
export TZ=UTC${TZ_SIGN[$(( RANDOM % 2 ))]}$(( RANDOM % 25 ))
echo "Set TZ to: ${TZ}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment