Will my pasta taste fine 5 days later?
You can keep pasta in the fridge for up to 5 days, but it may well be beginning to go off at day 5. If it smells musty discard it. Another option would be to freeze it; you can drop it into boiling water straight from the freezer from what I've read.
I also found this earlier question here How long does cooked pasta last in the fridge? which is pretty much what you're asking