Skip to content

Instantly share code, notes, and snippets.

@manpages
Created May 18, 2013 09:17
Show Gist options
  • Save manpages/5603830 to your computer and use it in GitHub Desktop.
Save manpages/5603830 to your computer and use it in GitHub Desktop.
Watch clock
#!/bin/bash
## Example: watchclock.sh "Canada/Pacific"
TZ=$1 || "Europe/Riga"
watch 'echo "${TZ}: `date +\"%F %R (%Z)\"`" |figlet'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment