To be perfectly honest, I didn't quite catch the logic behind this puzzle. What you obviously need to do is avoid the Hand, but you do so by entering a command *before* the Hand does anything. If you wait for it to move, you will die.