The author wrote an arduino sketch to control a stepper motor from a command line (via serial like port).
A Command-Line Stepper Library with All the Frills