Smart answer:

Your search for What is the capital of Libya returned the following results:

Tripoli

Militias from a string of Libyan cities have left the capital, Tripoli, nearly a week after more than 40 people protesting their presence in the city were killed by militiamen.

Tripoli and Benghazi

Kingdom of Libya has two capitals: Tripoli and Benghazi.

Source: