Wiktionary
know like the back of one's hand
alt. (context transitive idiomatic English) To be intimately knowledgeable about something, especially a place. vb. (context transitive idiomatic English) To be intimately knowledgeable about something, especially a place.