Snort mailing list archives
Snort in shell script
From: moon sun <msun489 () yahoo com>
Date: Thu, 18 May 2017 20:27:07 +0000 (UTC)
Hello, I'm trying to use linux shell script to perform multiple snort commands dynamically , i put them in a vi editor and save it and then make this file executable: $ cd ~/snort5_src $ cd snort-2.9.9.0 $ snort -dev -n 20 -l /home/hduser/log7 -b -c /etc/snort5/snort.conf $ chmod a+rwx /home/hduser/log7/snort.log.* $ tcpdump -n -tttt -r /home/hduser/log7/snort.log.* > /home/hduser/log7/bigfile2.txt when i execute this file in terminal it give me this message : ./snort-command: line 1: $: command not found ./snort-command: line 2: $: command not found ./snort-command: line 3: $: command not found ./snort-command: line 4: $: command not found ./snort-command: line 5: $: command not found Is this the right way to use snort commands in shell script ? or there is something else to do in snort ? ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
Current thread:
- Snort in shell script moon sun (May 18)
- Re: Snort in shell script wkitty42 (May 18)