tail -f access.log ã¿ãããªæãã§ãã°ã追ããã¨ã¯ããããã¾ãããã ããã§ãã»ãã»ãã«é¢ãããã°ã ãã§ãããã¼ãã£ã¦æ㯠tail -f access.log | grep homuhomu ã¿ããã«ãã¾ãããã éãã®ãé¢ä¿ãããã°ã¯ãããªããã¼ã£ã¦ææ´ã« tail -f access.log | grep homuhomu | grep -v sayaka ã¿ããã«ãã¾ãããã grep1段éã¾ã§ãªãåé¡ãªããã§ãããå¤æ®µã®grepããã¾ããæã«tail -f ãã¦ãã®ã«ãªã¢ã«ã¿ã¤ã ã«åºåãããã¼ã ãªããã¾ã¨ãã¦è¡¨ç¤ºããããã ãã©ã»ã»ã» ã£ã¦ãªãã¾ãããï¼ ããgrepãåºåå ãæ¨æºåºåãã©ãããè¦ã¦bufferãåãæ¿ãã¦ãããããããã§ãã ãªãã·ã§ã³ã§è¡åä½ã®bufferã«å¤ããããã®ã§ãã¤ãã«å¯¾ãã¦åºåãã¦ããgrepã« --line-bufferedã¨ã
{{#tags}}- {{label}}
{{/tags}}