The usual way Arabs greet each other is by exchanging the wish of Salam alaykum – which translates to Peace be upon you, to which you would usually reply with Wa alaykum as-salam. With regards to shaking hands, always watch the other person's behaviour. Although it's customary to shake hands, some Arabs might not want to, and would instead place their hand over their heart while greeting you. Reciprocate their greeting in the same way. Usually after shaking hands, people usually enquire about the other person's health, although do remember not to ask about the health of a female family member. Foreign visitors aren't expected to know all the nitty bitty customs around this, but it would impress an Arab!