I have to delete an email from a file called Email_Recepients.
I have seen several forums where they give me suggestions but I do not see that the email is deleted.
This is what I have tried so far:
sed '/[email protected]/d' ./Email_Recepients
I have to delete an email from a file called Email_Recepients.
I have seen several forums where they give me suggestions but I do not see that the email is deleted.
This is what I have tried so far:
sed '/[email protected]/d' ./Email_Recepients
try with
sed -i 's/[email protected]//g' ./Email_Recepients
The line of code what it does in the beginning is to change one chain for another. Here we have removed the replacement chain and then delete the original and not replace it with anything. I've tried it and it works for me.
Greetings