Breakdown of Ο παππούς μου είπε να μη χτυπήσω το καρφί πολύ δυνατά με το σφυρί, γιατί δίπλα είχε άλλη βίδα.
Questions & Answers about Ο παππούς μου είπε να μη χτυπήσω το καρφί πολύ δυνατά με το σφυρί, γιατί δίπλα είχε άλλη βίδα.
Here μου means my. It is the weak possessive form placed after the noun: ο παππούς μου = my grandfather.
A common point of confusion is that μου can also mean to me. So Greek can have both in the same sentence, for example Ο παππούς μου μου είπε... = My grandfather told me.... In that case, the first μου means my, and the second means to me.
In this sentence, Greek does not explicitly say μου είπε. The person being told is understood from context, and also from χτυπήσω, which is first person singular: I hit.
So Ο παππούς μου είπε να μη χτυπήσω... can naturally mean My grandfather told me not to hit... even without an extra μου.
A fuller, more explicit version would be Ο παππούς μου μου είπε να μη χτυπήσω....