Q: Does "line" have the same meaning in the following two sentences?

A nice line of shoes.

They were arrayed in line of battle.

A: different meanings

Q: Does "run" have the same meaning in the following two sentences?

Run rogue.

Run to the store!

A: different meanings

Q: Does "understand" have the same meaning in the following two sentences?

I understand wanting more.

I understand how to do it.

A:
the same meaning