`tail -f`コマンドの結果をgrepしたい場合、grepのオプションに` --line-buffered`をつけると良い。 ```sh # 例 tail -f ~/application.log | grep --line-buffered "ERROR" ```