finding email addresses in mbox files

 Assuming the mbox has been saved into a file called thefile.txt:

grep -E -o "\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}\b" thefile.txt

Popular posts from this blog

Chunk validation failed

The most useful defaults-write options

Erasing firmware password