Another way of looking at this is to say:-
"One side of my Oscilloscope goes to the mains earth,& the neutral line is ultimately connected to the earth,so I can get
a fair idea of the 50/60 Hz signal by
not connecting the probe earth to anything,or by connecting the probe earth to the earthed case of the device,& just probing the mains active lead." Your Oscilloscope safety earth still protects you in this case,plus you can determine if your neutral & active connections are transposed.
The best way is, of course to use an isolation transformer so you can get a better idea of the mains waveform,as some HF stuff may be lost using the method referred to above.
In many cases,all you need is a rough idea,though.
On another point,I'm not sure why everybody freaks out about measuring mains voltages.
OK,the mains has a very low internal resistance/impedance,& can source huge amounts of current,but the
peak voltage of say,a 240v supply is less than 400v.
You can definitely look at voltages of this level with a Tektronix, HP,Siemens,Philips or BWD x10 probe!
Maybe the "El Cheapo" probes aren't as well rated!
VK6ZGO