Add some random scripts in my machine

This commit is contained in:
bt3 2018-06-27 11:20:48 -07:00
parent 69ccfd04d5
commit 8f29682a89
3 changed files with 120 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#!/bin/sh
# Set a random timezone
TZ_SIGN=$( echo "+:-" | cut -d: -f "$( shuf -i 1-2 -n 1 )" )
TZ=UTC${TZ_SIGN}$( shuf -i 0-24 -n1 )
export TZ
echo "Set TZ to: ${TZ}"