Answer: Imagine a right handed cork screw with its axis coincident with the current carrying wire. Now rotate the screw to advance it in the direction of the current, the direction in which the thumb rotates gives the direction of the magnetic field lines.