The Libyan rebel army commander, Abdel Fattah Younes, has been shot dead by gunmen inside rebel territory.