How do flagella move?

Flagella move by flicking like little whips or by pulling themselves. Smooth flagella move by flicking and hairy flagella move by pulling.