They can be differentiated from other verbs because they carry a special morpheme. Another thing to note about imperative verbs is that the second aorist has a different tense stem than the present.   
- Basics of Biblical Greek. Mounce, William, D.,Zondervan.GrandRapids Michigan. 2003.