You extend and shake with your right hand. And if accepting something such as a diploma etc. you accept with your left.
Not to is not used to greet someone.
What is greet
So let's make this clear. You will greet our president when he arrives.
To greet someone in the morning you say 'Good morning.'
to say hello or greet someone with happiness and joy
Thomas often answered the door to people while wearing his house slippers. What a way to greet someone!
Namasta
to greet someone
konichiwa
you would normally bow your head (mostly to elders that are older than you) bring your hand together and say "Sat sri akal".
With a secret hand shake
Greet people with eye contact right away. This establishes a relationship with each other. Extend your right hand and shake the persons hand gently but firmly. Smile.