Repeat previous commands for Efficiency

How can I repeat previous commands?