Bring a large pot of water to a boil for the pasta.
Heat a large skillet over medium heat with 2 turns of the pan of olive oil. When hot, add butter to oil. When it foams, add shallots or onions and garlic, and season with salt and pepper. Stir 3 minutes then add stock; boil and reduce heat to a low simmer.