Car starting problem

'95 jeep grand cherokee 4 whl drive. No previous starting problems, but last week suddenly wouldn’t start (lot of grinding) and check eng. light came on. Had it towed to shop. They replaced battery and battery cable. Worked fine for 2 days, but this morning barely started (again grinding noise) and check eng. light came on again. Anybody have suggestions for what might be wrong?

By grinding noise, do you mean when you turn the key to start that there is a grinding noise before the engine turns over and catches? I would suspect the starter in that case, but I readily admit I am not familiar with your particular automobile.

The check engine light makes me wonder - did the shop test your alternator before they replaced the battery and battery cable? How about checking for codes - what code(s) is turning up as a result of the check engine light?