Etymology
Today it means: To slap someone's hand in greeting or celebration. Full definition →
Referring to the five fingers.
Etymology from Wiktionary, CC BY-SA 4.0.