grep日志去重

grep --text ' ERROR '2017.06.08.log | grep '12345678' | grep -Eo 'telephone=.*{11},p'| sort | uniq | wc -l

more -2019-12-11.log | grep -o "18123928678" | wc -l

{"phone":"18233166881"}


grep -o -E '' /tmp/phone.txt

原文地址:https://www.cnblogs.com/php-linux/p/12023933.html