I just started using hack the box and I find it confusing which nmap commands are being used and why. Most of the time they use nmap -sV {Target IP} but other times they use nmap -p- -sv {Target IP}.
I tried looking through the command lists but I don't see any -p- attribute, what exactly is this scan doing?