Fab = Force experienced by wire 'a' of length 'l' due to magnetic field of wire 'b'
Fba = Force experienced by wire 'a' of length 'l' due to magnetic field of wire 'b'
Ba = Magnetic field due to wire 'a'
Bb = Magnetic field due to wire 'b'


The direction of force experienced by the wire 'a' is toward the wire 'b'. (As shown in the diagram).
Similarly the direction of force experienced by the wire 'b' is toward the wire 'a'. Thus, the force is attractive.
If two long wires are placed in vacuum at a separation of 1 m, one Ampere would be defined as the current in each wire that would produce a force of 2 x 10-7 Nm-1 per unit length of wire.