Cut an electrical extension cord with the wire cutters to the proper length for your needs, taking into account how far your fan will be from the electrical outlet you plan to use. Leave the male plug -- the part that goes into the wall outlet -- on the wire.
Pull apart the extension cord's two insulated wires. Insert each wire into your wire stripper, 1/2 inch from the end. Pull the wire stripper toward the cut end of the wire to remove 1/2 inch of the insulation.
Insert the ends of the two wires that are connected to the bath fan into your wire stripper. Remove 1/2 inch of insulation from the end of each wire, using the same technique as before.
Pair the stripped ends of one wire from the extension cord and one wire from the bath fan. Put a wire connector over the paired ends. Hold the wires and twist the wire connector clockwise until it is tightly fastened on the wires. Wrap a piece of electrical tape around the base of the wire connector and the wires leading into it for further secure the connection.
Repeat Step 4 with the remaining two wires.
Plug the fan into the outlet to test its operation.