Because our recent development work, I was put into a position where I have to monitoring a few of our application's output logs, specifically I am looking for a certain error code(s). Because my limited scripting skill right now the only thing I can do is to tail -f
the log file and just keep looking for update. I also use PuTTY. I am hoping someone can make a few suggestions on how I can accomplish either one of the following, if possible:
- Modify bash.rc so when certain keyword(s) displayed in terminal they will be highlighted
- Utilize PuTTY's audio/visual bell so whenever a keyword is displayed alert will go off