Skip to content

Instantly share code, notes, and snippets.

@ekimekim
Created May 29, 2013 06:15
Show Gist options
  • Save ekimekim/5668290 to your computer and use it in GitHub Desktop.
Save ekimekim/5668290 to your computer and use it in GitHub Desktop.
Uses banner(1) to display the current time as a crude terminal clock.
#!/bin/bash
USAGE="$0 [FORMAT]"
FORMAT="${1:-%T}"
while sleep 1; do
clear
echo
banner "`date "+$FORMAT"`"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment