Follow trolling motor to get e-mail alerts and updates on your eBay Feed. Unfollow trolling motor to stop getting updates on your eBay Feed. Yay! You're now following trolling motor in your eBay Feed.
This you see as the north pole forming near the north pole of the solenoid. Like poles repel, unlike poles attract is kind of a misleading analogy(I find it strange that I realized this after reading your question). What actually is happening is that the tiny magnetic dipoles inside the magnetic material(a bar of iron, for example) align with the direction of the magnetic field.
An object that attracts iron and some other materials. Magnets are said to generate a magnetic field around themselves. Every magnet has two poles, called the north and south poles. Magnetic poles exert forces on each other in such a way that like poles repel and unlike poles attract each other. A compass is a small magnet that is affected by the magnetic field of the Earth in such a way that it points to a magnetic pole of the Earth.