Snort mailing list archives
Re: (no subject)
From: "Joel Esler (jesler)" <jesler () cisco com>
Date: Fri, 19 May 2017 20:09:56 +0000
Looks like you are trying to run a script without specifying a shell to run it in, however, I don’t think this script will do what you want it to do. What are you trying to do? -- Joel Esler | Talos: Manager | jesler () cisco com<mailto:jesler () cisco com> On May 18, 2017, at 4:17 PM, moon sun <msun489 () yahoo com<mailto:msun489 () yahoo com>> wrote: Hello, I'm trying to use linux shell script to perform multiple snort commands , 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://Slashdot.org>! http://sdm.link/slashdot _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net<mailto: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! ------------------------------------------------------------------------------ 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:
- (no subject) Juan Garcia (Apr 05)
- <Possible follow-ups>
- (no subject) Tidiane Seck (Apr 27)
- (no subject) Tidiane Seck (Apr 27)
- (no subject) Сергей Филоненко (Apr 28)
- (no subject) Nita Asyari (May 01)
- (no subject) lujain obeidat (May 08)
- (no subject) VICTOR ANDRES HERRERA GARCIA(Estudiante) (May 12)
- (no subject) moon sun (May 18)
- Re: (no subject) Joel Esler (jesler) (May 19)
- (no subject) snort (May 20)
- (no subject) Ширясов Александр (May 22)
- (no subject) Frederic Lubrano via Snort-users (Jun 16)