I am installing a vent fan in my basement bathroom. I am ready to wire it in, but I do not know what this red wire is for:
I also am not sure what the green ground wire in the fan is supposed to be attached to. I saw on some other posts here that you shouldn't wire the green ground to the white because you can shock yourself when you turn on the switch. That was in reference to a ceiling fan, so I would imagine an exhaust fan would be the same.
I appreciate any clarification :).
Edit: added some more pictures for clarification.