Cook the pasta in boiling salted water according to the instructions on the packet. Peel garlic and chop finely. Heat oil in a pot. Sauté garlic and chilli in it. Add anchovies, capers, olives and tomatoes.
Season with salt and pepper. Let the sauce simmer for about 10 minutes. Mix the pasta with the sauce and sprinkle with parmesan.