I'm trying to get Cygwin to show what ports my laptop has open but when I try to run it, it says the command isn't found.
This is the command I'm trying: nmap -v -A
<<IP address>>
This blog post has some useful info about how to get this working. Have copied it below in case it ever goes away:
Cygwin: add to ~/.bash_profile
:
alias nmap="/cygdrive/c/Program\ Files\ \(x86\)/Nmap/nmap.exe"
Note the \
and \(
are vital for Cygwin shell to interpret the command correctly