• Home
  • Linux
  • Find the lines with keyword in log file

Find the lines with keyword in log file

linkaiyi
Follow

Find the lines with keyword in log file or other files

grep CRON /var/log/syslog # display lines with keyword CRON

or

grep -i CRON /var/log/syslog # display lines with keyword CRON and case insensitive
Object has 0 attachments

Was this article helpful?

This article is viewed 54 times!

0 Comments

Leave a Comment

Support