liǎo​ruò​zhǐ​zhǎng

to know something inside out