Perform a ping scan to determine which hosts are online
The following command is used to perform a ping scan on a target system or network. This type of scan is often referred to as a “host discovery” or “ping sweep” scan. When you run this command Nmap will sends ICMP echo request packets (commonly known as “pings“) to the specified target IP address(es) or network range, and identifies which hosts are alive (responding to the ping requests) and which hosts are not responding.
Command :
nmap -sn <target>
Output :
Top 30 Basic NMAP Commands for Beginners
For a cybersecurity enthusiast or professional, mastering network scanning tools is very important to comprehend and assess the security position of networks and systems. Nmap, an influential and versatile Network Mapper, is the network reconnaissance and vulnerability detection go-to tool. As you begin your journey in ethical hacking or work towards developing your penetration testing skills, it is imperative to learn the key Nmap commands. The following 30 Nmap basic commands will provide a good starting point for scanning networks efficiently, finding live hosts, discovering opened ports, as well as obtaining useful details on services hosted on those machines. With Nmap in your toolbox, you will be armed with the necessary tools not just to understand the intricacies of network exploration but also to uncover any possible vulnerabilities that could breach security within the digital landscape.