Know (something) only too well

To know something very well.I know only too well what will happen if I do not finish my essay on time.

Know (something) is coming

To know in advance that something is going to happen.I knew it was coming when my boss told me that the store would soon close.

Know (something) inside out

To know something thoroughly.I know the history of our city inside out.

Know (something) from memory

To know something well from seeing it often.I know most of the telephone numbers from memory.

Know (something) by heart

To know something perfectly and from memory.I know the poem by heart.

Know (something) backwards and forwards

To know something very well.I know the names of the people in my history class backwards and forwards.

Know (someone or something) like the back of one’s hand

To know someone or something very well.I know the material for the exam like the back of my hand.

Know (someone or something) like an open book

To know someone or something very well.I know the man like an open book.

Know (someone or something) like a book

To know someone or something very well.I know the personality of my friend like a book.

Know (someone or something) by sight

To know the name and recognize the face of someone or something.I know the professor's name but I do not know him by sight.