Al-Shrif graduated with the 18th patch of the Libyan Military Academy, he participated in the Chadian–Libyan conflict under Khalifa Hafter.