Recent Questions

مطالب مرتبط با «grep with multiple lines» در Recent Questions | نویسنده: استخدام کار

Grep with multiple patterns used on the command

Few days ago I installed centos 7 on my server and run ssh. Now I want to track logs. Is there anyway to combine cat or tail with grep to have clear failed and accepted loggin attempts list from choosen day? I know it won't work, but something likecat /var/log/secure | grep "Accepted" "Failed" "Today's date" Let's block ads!...

ادامه مطلب