Md Hashim trained as a cadet in Royal Military Academy Sandhurst on 1963. Warfare knowledge is essential to him, he is also learning military techniques in Malaysia and in foreign countries in order to bring Malaysian Army to a higher standard of the time. Following are lists of his Alma mater:
Army Intelligence Centre Woodside, Australia – 1971.
US Army Infantry School, Fort Benning – 1975.
Malaysian Staff College, Kuala Lumpur – 1979.
United Kingdom Infantry School, Warminster – 1980.
US Army Command and General Staff College, Fort Leavenworth – 1985.
Malaysian Armed Forces Defence College, Kuala Lumpur – 1989
First Malaysian Exchange Directing Staff at the Australian Army Command and Staff College.
Commandant, Army Training Center, Port Dickson, Negeri Sembilan.
In 1993–1994, he is appointed as the Commanding Officer of United Nations Protection Force Malaysian Commander (UNPROFOR) stationed in Bosnia Herzegovina.