Script to count down to the new year of 2016.
countdown2016.sh
[code]
while [[ $(date +%Y) -ne 2016 ]];do figlet $(($(date -d 2016-01-01 +%s)-$(date\ +%s)));sleep 1;clear;done;figlet 'Happy New Year!'
[/code]
$ chmod +x countdown2016.sh
$ ./ countdown2016.sh
No comments:
Post a Comment