Re: apache log y grep

From: Date: Thu, 19 Oct 2000 14:22:50 +0000
Subject: Re: apache log y grep
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-2539@lists.php.net to get a copy of this message
cat <archivo_log> | grep ^213.96.165.120 horacio Saludos ----- Original Message ----- From: Alejandro P'erez To: lista@phpes.com Sent: Thursday, October 19, 2000 11:26 AM Subject: [PHP-ES] apache log y grep 213.96.165.120 - - [04/Jul/2000:19:44:16 +0200] "GET /revista/imag/bprensa2.htm HTTP/1.0" 200 680 213.96.165.120 - - [04/Jul/2000:19:44:21 +0200] "GET /revista/imag/b_anterior.gif HTTP/1.0" 200 784 213.96.165.120 - - [04/Jul/2000:19:44:21 +0200] "GET /revista/imag/b_buscar.htm HTTP/1.0" 200 734 213.96.165.120 - - [04/Jul/2000:19:44:21 +0200] "GET /revista/imag/suscripcion.gif HTTP/1.0" 200 6353 supongamos que tenemos estas lineas en el log me gustaria obtener las paginas visitadas por la ip 213.96.165.120 es decir obtener los strings revista/imag/bprensa2.htm revista/imag/b_buscar.htm existe alguna forma de hacerlo con grep o algun otro comando

« previous php.general.es (#2539) next »