tail -200f ms01.log | grep 'error'
Replace 'error' with the term you want to show lines containing. If more than one term is required, use:
Note: this is only a simple grep -- if you need to filter for strange words or regular expressions, you will need a heftier grep command.
Also: I believe you meant to write "Which command to execute
", not "Which command to shoot