diff --git a/watch b/watch new file mode 100644 index 0000000..c018c32 --- /dev/null +++ b/watch @@ -0,0 +1,9 @@ +#!/bin/bash +while [ 1 == 1 ] + do + $1 > /tmp/watch-$$.tmp + clear + echo -e "\e[5;49;90m------------------------| \e[1;42m$(date)\e[5;49;90m |-----------------------\e[1;0m" + cat /tmp/watch-$$.tmp + sleep 1 +done