{"id":433,"date":"2018-08-20T15:57:51","date_gmt":"2018-08-20T15:57:51","guid":{"rendered":"https:\/\/alexrusin.com\/?p=433"},"modified":"2018-08-20T15:58:36","modified_gmt":"2018-08-20T15:58:36","slug":"ubuntu-command-line-search","status":"publish","type":"post","link":"https:\/\/blog.alexrusin.com\/ubuntu-command-line-search\/","title":{"rendered":"Ubuntu Command Line Search"},"content":{"rendered":"
\nSometimes I have to go through log files searching for a certain error message. The command below will show you log file names and lines where the message was recorded.\n<\/p>\n
\r\ngrep -rnw 'logs\/' -e 'Hello World'\r\n<\/pre>\n