If there is a red wire in the fixture box it sounds like the fixture is three way switched. The travelers are coming from one of the two switches and the cable is going to the second switch.
See related links below.
Grounding an electrical or electronics device commonly refers connecting it's power inlet ground pin to the ground connection of the power outlet. The power outlet ground connects to the ground connection provided by the electricity utility company or the building's common ground connection. The grounding essentially provides a zero volt reference. Many systems which have a metal chassis provide specific grounding points with screws/nuts to connect grounding wire. To ground chassis of a computer one need to connect ground wire to the metal case.
In a United States 110/120V household outlet (also known as an Edison plug) the ground contact is the one shaped like a train tunnel, usually located at the bottom. The hot and neutral wires are the two shaped like slits.
John Howard invented the electrical outlet in 1924. Prior to his invention lamp bulb plugs were used to connect various household appliances.
yes the device must be grounded per NEC code. if the juncrion box is metal you must also sufficiently ground the box using a ground screw or clip. the ground box should be uninterrupted if the device is removed. (the device screws mounted to the box is not a suitable grounding means.
Only if you wanted to fry your hair.for God sake(and yours)buy a new cord to hook up your dryer
A 15 amp 125 volt outlet is a household outlet.
Simply run a wire from that outlet to that wall switch. Be sure you use the exact same wire size that you find in that outlet. It will be AWG 12/2 or 14/2. Do not mixes wire sizes. Connect the ground to green ground screw at outlet, and white wire to silver screw, and black wire to gold screw. At the light switch connect all white wires together under a wire nut and push them back into the box. Connect the ground wire to the green ground screw on the switch. Now connect the 2 black wires you have left, power in and power out, to the 2 screws on the switch. Does not matter which wires you connect to the 2 screws.
Black & Red are hot, and White is neutral. If it has no place to connect neutral connect neutral to ground.
Determine what other items are on that circut. Inspect them to see if they are grounded. If they are back stabbed you may have to connect them to the ground screw.
Change the outlet to a grounded one. Get an adapter that goes from 3 prong to 2. Break the ground prong off. Any one of these will work.
Black wire to copper screw, white wire to silver screw, bare copper ground wire to green ground screw.
You use a known ground and check them for voltage. You can use an extension cord to reach from a ground to the wires you are testing. You are not putting it in an outlet, just to connect you to a ground.