TUNIS - Tunisian forces killed 21 Islamist militants on Monday after the militants attacked army barracks and police posts in Ben Guerdan town near the Libyan border, the interior ministry said.