linuxSat, 03 Dec 2022
this command has 1 argument. you should provide a file name, if it not exits it should send an error message. if it exsists get all email addresses from a file
grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b" <filename>