Grep with multiple pattes 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 like

cat /var/log/secure | grep "Accepted" "Failed" "Today's date"

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: grep with multiple pattes,grep with multiple pattes r,grep with multiple lines,grep with multiple options,grep with multiple conditions,grep with multiple words,grep with multiple files,grep with multiple matches,grep with multiple conditions in r, نویسنده: استخدام کار بازدید: 348 تاريخ: پنجشنبه 21 مرداد 1395 ساعت: 16:50

صفحه بندی