I've worked for a number of companies in several countries. In one small company in India there was a guy who greeted everyone individually at the start of his day, and then shook hands and said "good night" to everyone at the end of his day (which could get terribly annoying if I was traveling in the same company van as him, with an hour ride home, waiting for him to shake everyone's hand before we could leave.)
In most places when people drift in they greet people who work near them, often as a group with, "good morning guys," people they might pass on the way to their workspace, but not much outside that. And no hand shaking, unless it's an individual ritual between any two people.
Right now I work for a small company and not many people greet each other. I'm always the first one in, so there's no one where when I arrive. The next guy in is a buddy, so he greets me and we go fix some cups of tea together...
I say "good morning" to people as they arrive if they come near my desk, some respond, some don't. One does, unless she sees a closer friend of hers in the office, in which case I might as well be invisible.