Hygienic and psychological reasons have already been mentioned above. Having a shaved head can also be an asset in melee combat - an opponent can grab long hair and use that to his advantage (not that this stopped a wide array of historical peoples, from the Hittites to American Indians, from wearing long hair in battle). More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.