Cook the linguine according to package directions until al dente, about 2 to 3 minutes. Drain pasta in a colander and reserve a small amount of the hot pasta water in a small bowl. Return pasta to the pot. Return the pot to the heat and add the reserved bacon and onion mixture. Stir over high heat until the pasta and bacon mixture are thoroughly blended.
Whisk the egg yolks and heavy cream together in a small bowl. Add the combination to the pasta and toss. Add the parmesan and toss until the entire mixture is well-coated. Season with salt and freshly ground black pepper, to taste.
TIP: If the pasta is dry, you can add a bit of the reserved cooking water. It has enough starch from the pasta to help bind your sauce. Serve immediately.
Recipe by In Good Taste at https://ingoodtaste.kitchen/linguine-carbonara/