Skip to content

Instantly share code, notes, and snippets.

@damiancarrillo
Created November 9, 2011 22:38
Show Gist options
  • Save damiancarrillo/1353382 to your computer and use it in GitHub Desktop.
Save damiancarrillo/1353382 to your computer and use it in GitHub Desktop.
Bash timer
#! /usr/bin/env bash
for i in $(seq 1 5); do if [ $i = "1" ]; then echo -n $i; sleep 1; else echo -n "^H$i"; sleep 1; fi; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment