The Problem of Other Minds

The philosophical problem of other minds goes like this. I know that I have a mind, that is, feelings, sensations, thoughts and the like, in a very direct way. I am directly aware of what goes on in my own mind. But how do I know that something like this goes on in other people?