Nmap Development mailing list archives
Re: Nmap & Bash Auto-Completion
From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 23 Dec 2009 08:53:02 -0600
Jay Fink wrote:
Glad I could help! As far as using the script in an installation, the general idea is to drop it into /etc/bash_completion.d/ where it will be sourced by bash if the user has bash-completion support.On Tue, Dec 22, 2009 at 8:39 PM, David Fifield <david () bamsoftware com> wrote:Here's the message with the file. Unfortunately it got word-wrapped so I attached a fixed version. http://seclists.org/nmap-dev/2009/q4/514 To use it, just run (note leading dot): . ./nmap-completion.shYeap - can source it too.I'm not sure if that changes the meaning. I am able to run this on Debian. From inspection, it looks like it may use some Debian-specific shell functions, so some work might be needed on other platforms.I just have it an initial pass on debian and netbsd-current. Interesting thing - even using the nmap version in netbsd's pkgsrc (I had to tweak the nmap dir) it works great. I will test it on freebsd and slackware or fc12 over the next few days and a bit more thoroughly. Thanks Daniel this is excellent j
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Nmap & Bash Auto-Completion (was: Am I Missing Something?) Patrick Donnelly (Nov 23)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) David Fifield (Nov 23)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) Jay Fink (Nov 24)
- <Possible follow-ups>
- RE: Nmap & Bash Auto-Completion (was: Am I Missing Something?) Daniel Miller (Nov 25)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) David Fifield (Dec 22)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) Jay Fink (Dec 22)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) David Fifield (Dec 22)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) Jay Fink (Dec 22)
- Re: Nmap & Bash Auto-Completion Daniel Miller (Dec 23)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) Jay Fink (Dec 24)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) David Fifield (Dec 22)
- Re: Nmap & Bash Auto-Completion (was: Am I Missing Something?) David Fifield (Nov 23)