From owner-freebsd-questions@FreeBSD.ORG Sat Jan 13 16:53:19 2007 Return-Path: X-Original-To: FreeBSD-questions@freebsd.org Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9ECAD16A412 for ; Sat, 13 Jan 2007 16:53:19 +0000 (UTC) (envelope-from linuxquest7570@yahoo.com) Received: from web59209.mail.re1.yahoo.com (web59209.mail.re1.yahoo.com [66.196.101.35]) by mx1.freebsd.org (Postfix) with SMTP id 52DFB13C442 for ; Sat, 13 Jan 2007 16:53:19 +0000 (UTC) (envelope-from linuxquest7570@yahoo.com) Received: (qmail 79868 invoked by uid 60001); 13 Jan 2007 16:53:18 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=oIz7UCm4eb2qZhTuiF60zF4l2cbjAlUEzNhr9UGVZi4QAE4LEvnQRXKW2ZuzIk3QMhROVdOYkPh4isixMJ8NaLbhaGM7HHYJaQZkyJ1FhYYqoK26yOmJV1d0+reSiMSSw+TSX0OqaoAfTb8JHu3CT9ydUuJ70LNwkw97j47b7jI=; X-YMail-OSG: Sp19_MkVM1kuRfLtborqSVxvV2ath8vQNSjEUBovVrV0vxhxVg5cyhl6eRGgnx2HVhW7EAUyhwpUUwSLqnQHck6TsH.A1ZSsz3CU2n6TXQSbn9zVznF2eGgnVOAbe8Z5yoo3I735GGIwL8EXKHr5j_czwIyxxBv.dD8jtY5wcDF0 Received: from [60.49.70.28] by web59209.mail.re1.yahoo.com via HTTP; Sat, 13 Jan 2007 08:53:18 PST Date: Sat, 13 Jan 2007 08:53:18 -0800 (PST) From: linux quest To: FreeBSD-questions@freebsd.org MIME-Version: 1.0 Message-ID: <404104.77776.qm@web59209.mail.re1.yahoo.com> X-Mailman-Approved-At: Mon, 15 Jan 2007 01:14:47 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Newbie NMap in FreeBSD Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jan 2007 16:53:19 -0000 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 hope someone can share with me the simple coding. Thanks. Regards, Linux Quest --------------------------------- 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut.