Archives Nov. 11, 2007

Continuous Tail Script

Chip

This is my continuous tail script. It's good to have running on another screen while you are working on PHP code. You can ct the apache error_log and watch the log as the page is accessed. Streamlines the whole debugging thing.

#/bin/sh
if [[ "$1" == "" ]]
then
echo "Continuous Tail Script (50 Lines, 5s Interval). Tim 10/09/2007"
echo "Usage: ct [file]"
else
clear
tail -n 50 -s 5 -f $1
fi

Sunday 11th November 2007 - 23:08:38

Chip
Had a great game of Cyberpunk today. Josh DM'd and Ben also came and played. Had a great bbq too! This was my first game of Cyberpunk. Finally.