How does a girl know if a guy is interested in her vs being friendly?

What are some tell-tale signs that you like her. I am having a tough time figuring this guy out. He is really nice and always greets me when he sees me.

actually I would like more answers from a male perspective because I feel that we have a connecion but we can't ssem to move beyond saying hi.