it IP blocks people and tracks IP’s linked to editing
Unless something changed, this part was at least partially true at one point. But only for anonymous edits iirc. Usually happened for IPs shared by a lot of people like from a campus or some VPNs, probably due to a lot of vandalism from such IPs.
If it’s a beginner trying to learn those commands, definitely the latter.
If it’s a beginner trying to set up their environment for the actual thing they’re trying to learn, then a fire and forget single command is more user-friendly.