TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with Grep



Hello Again:
	Basically what I'm trying to do is search through a given file,
namely /var/log/secure and look for FAILED LOGIN, ROOT LOGIN and refused
connect.  When the above patterns are found, I want the line containing
the pattern to be copied to a specified text file.... Does anyone know how
to do this? IF so is it even possible?
	Thanks For the help!


	Jonathan Kline, A+
	Webmaster at students.ism-sabis.net