steve fiedler on 11 Aug 2015 07:30:58 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Need Help with a script for netcat |
Keith,
I did think about that but wasn't sure if it would work.... I will try it tho. Thanks, Steve Date: Tue, 11 Aug 2015 10:17:28 -0400 From: kperry@daotechnologies.com To: plug@lists.phillylinux.org Subject: Re: [PLUG] Need Help with a script for netcat Have you tried wrapping it in a while loop? Something along the lines of... while [ 1 ] do INFO=$(hostname | cut -c 4-7)_$(date +%Y%m%d) /usr/bin/netcat -l -n -p 6000 >> /tmp/smdr_$INFO done ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Keith C. Perry, MS E.E. From: "steve fiedler" <a31modela@hotmail.com> To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org> Sent: Tuesday, August 11, 2015 9:34:04 AM Subject: Re: [PLUG] Need Help with a script for netcat i did try the -d option, not a valid option in netcat v 1.1. Could only find the -d option on a version for windows. Thanks, Steve Date: Tue, 11 Aug 2015 09:21:19 -0400 From: jonathan@jdsnetwork.com To: plug@lists.phillylinux.org Subject: Re: [PLUG] Need Help with a script for netcat Try adding -d option to netcat On Aug 11, 2015 8:59 AM, "steve fiedler" <a31modela@hotmail.com> wrote:
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug |
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug