In Tripoli, many foreign workers say thay are being assaulted and illegally detained.
Some are accused of being Muammar Gaddafi supporters and mercenaries.
Others live in makeshift camps, hiding from men with weapons, without knowing whether their attackers are Gaddafi's loyalists or rebel fighters.
Al Jazeera's James Bays has this exclusive report.
At Al Jazeera English, we focus on people and events that affect people's lives. We bring topics to light that often go under-reported, listening to all sides of the story and giving a 'voice to the voiceless.' Reaching more than 270 million households in over 140 countries across the globe, our viewers trust Al Jazeera English to keep them informed, inspired, and entertained. Our impartial, fact-based reporting wins worldwide praise and respect. It is our unique brand of journalism that the world has come to rely on. We are reshaping global media and constantly working to strengthen our reputation as one of the world's most respected news and current affairs channels.