nmap commands for complete a port scan in kali linux code example
Example: Nmap to find open ports kali linux
Open Terminal and write this code:
nmap -sV -Pn pastehereip
Source
https://subscription.packtpub.com/book/networking_and_servers/9781787121829/2/ch02lvl1sec25/using-nmap-to-find-open-ports