Snort mailing list archives
Re: Can't Parse "snort -V"
From: "Dale L. Handy" <dhandy () nitrodata com>
Date: Thu, 31 Jul 2003 16:14:11 -0600
Use the following instead, since the version (and much of the other information) is being written to stderr:
snort -V >versionfile.txt 2>&1 This will redirect both stdout and stderr to the file versionfile.txt. John Crain wrote:
I'm attempting to automate snort version on multiple sensors. However, I can't parse "snort -V"... snort -V dumps to the screen and I can't grep or awk it. I can't even dump snort -V to a file with "snort -V > file". Any suggestions on how to grab the version number as part of a command line function? Thanks, John __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
--"The trouble with doing something right the first time is that nobody appreciates how difficult it was."
-- Dale L. Handy, P.E. dhandy () nitrodata com http://www.nitrodata.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Can't Parse "snort -V" John Crain (Jul 31)
- Re: Can't Parse "snort -V" Dale L. Handy (Jul 31)
- <Possible follow-ups>
- RE: Can't Parse "snort -V" JP Vossen (Jul 31)
- cheap monitoring /dev/null (Jul 31)
- Message not available
- Re: cheap monitoring /dev/null (Aug 01)
- Re: cheap monitoring, not OT twig les (Aug 01)
- cheap monitoring /dev/null (Jul 31)