#!/bin/sh
clear
echo "               ///////////////////////////////////////////////////"
echo "               /               Shady log cleaner                 /"
echo "               /               Written by sHaDy                  /"
echo "               /                                                 /"
echo "               /         http://it.geocities.com/shadyhak        /"
echo "               ///////////////////////////////////////////////////"
echo ""
echo -n " [-] Inserisci l'IP adress o l'host name da cancellare:"
read IP
echo -n " [-]Inserire il percorso del file di log:"
read FILE                                                               
echo""
echo "                            Sto cancellano. Attendere..."
cat $FILE | grep -v $IP > $FILE.tmp
rm -rf $FILE
mv $FILE.tmp $FILE
echo ""
echo "                         Cancellazione avvenuta con successo    "
echo "                              Grazie per aver usato Slc"



    Source: geocities.com/it/songbook2003

               ( geocities.com/it)