OverTheWire: Wargames

“The wargames offered by the OverTheWire community can help you to learn and practice security concepts in the form of fun-filled games.”

http://overthewire.org/wargames/

Beyond security, the first game, “Bandit,” is a useful introduction to the command line,  common tools, e.g, ssh, man, grep, etc., and basic operating system concepts, such as permissions.