I'm aware that this is a really simple question, but I'm struggling to find a solution to this .
I need to automatically find and replace in the
/etc/aliases file the following section:
# Person who should get root's mail #root: marc
And it needs to look something like:
# Person who should get root's mail root: firstname.lastname@example.org
And I haven't been able to find a solution. Can you guys jump in with some suggestions? Doesn't need to be