How to get all emails from the text with one command? I got an interesting problem today: there is a big text, in this text there many emails, need to get unique emails from this text, sort them and put in the file. It turned out that it is possible to do with one command. Here it is. Tags: linuxgrep