By default nmap checks the 1,000 most common ports per protocol. Across a whole subnet that can take a while, and often I only want a first impression.
Pick how many of the popular ports to try:
nmap --top-ports 20 192.0.2.0/24
That checks the twenty ports that show up most often according to the frequency data that ships with nmap, which covers the likes of web and SSH. If you want something in between, -F is the built in fast mode with about 100 ports:
nmap -F 192.0.2.10
You can leave out ports you don’t want touched:
nmap --top-ports 100 --exclude-ports 25 192.0.2.10
I treat the short scan as triage. It tells me which hosts are interesting, and then I give those a fuller run.
The weak spot is anything on an unusual port. Self hosted apps love numbers like 8123 or 32400, and a top twenty list will happily report nothing while they are running. So never read a quick scan as proof that a machine is closed. For that you need -p-, which tries every TCP port and takes much longer. Only scan machines you own or have permission to test.
Further reading: Nmap port specification