Logrotate example
a simple script for log rotation, used in systems without logrotate. #!/bin/sh # Assignments script=$1 num_of_rotates=$2 # Rotation i=$num_of_rotates while [ $i -gt 1 ] do minus=`expr $i - 1` if [ !…
a simple script for log rotation, used in systems without logrotate. #!/bin/sh # Assignments script=$1 num_of_rotates=$2 # Rotation i=$num_of_rotates while [ $i -gt 1 ] do minus=`expr $i - 1` if [ !…
Welcome to my website it runs from my home server – a real beast 450mhz pentium with Debian linux. site content will relate to my hobbies, family, & some stuff for system/database admins.