Skip to content

Instantly share code, notes, and snippets.

@victorcastelan
Created August 23, 2012 16:41
Show Gist options
  • Save victorcastelan/3438519 to your computer and use it in GitHub Desktop.
Save victorcastelan/3438519 to your computer and use it in GitHub Desktop.
Muestra un reloj con segundero en la consola (linux)
#/usr/bin/bash
while [ 1 ]; do
printf "\r$(date +%T)";
sleep 1s;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment