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"
برچسب: grep with multiple patterns,grep with multiple patterns 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,
نویسنده: استخدام کار