Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread Garrett Cooper
On Jan 16, 2007, at 1:00 AM, linux quest wrote: Dear FreeBSD Communities, Lets say, I wanted to create a Perl script to execute a very simple nmap command as listed below, may I know how do I do it? unix# nmap 192.168.1.2 I know we need to save it in .pl extension. May I know what else I

Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread Niclas Zeising
On 1/16/07, linux quest <[EMAIL PROTECTED]> wrote: Dear FreeBSD Communities, Lets say, I wanted to create a Perl script to execute a very simple nmap command as listed below, may I know how do I do it? unix# nmap 192.168.1.2 I know we need to save it in .pl extension. May I know what else I n

Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread Andrew Pantyukhin
On 1/16/07, linux quest <[EMAIL PROTECTED]> wrote: Dear FreeBSD Communities, Lets say, I wanted to create a Perl script to execute a very simple nmap command as listed below, may I know how do I do it? unix# nmap 192.168.1.2 I know we need to save it in .pl extension. May I know what else I ne

Re: Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread George Vanev
I'm sorry I have to tell you this, but your questions are pretty silly for this mailing list. I suspect I am not the first that have told you this. Anyway... I think I saw someone answer you this question - how to make the perl script. Obviously you have to install perl. The easiest way is to cr

Command Execution Using Script - Similar to Windows Batch File-Like Script (Coding Help)

2007-01-16 Thread linux quest
Dear FreeBSD Communities, Lets say, I wanted to create a Perl script to execute a very simple nmap command as listed below, may I know how do I do it? unix# nmap 192.168.1.2 I know we need to save it in .pl extension. May I know what else I need to do? I have researched and google this for the