ãã£ã¤ãå¿ããã®ã§ãã¡ã¢ã vim ã§ç¹å®ã®ç¯å²ã®è¡ãã³ã¡ã³ãã¢ã¦ããããå ´åããã£ãã® logrotate åé¡ã§ä¸æ¬ã§ã³ã¡ã³ãã¢ã¦ãããããªã£ãã®ã§ã V ã§è¡é¸æéå§ã Ctrl-v ã§ç¯å²é¸æéå§ã j ã¨ãã§ç§»åã I ã§è¡é æ¿å ¥éå§ã # ã¨ã // ã¨ãé©å½ã«å ¥åã ESC ã»ãã vi ã ã¨è¡çªå·æå®ã§è¡é ç½®æãã¨ãããããªããã 11ã20è¡ç®ã¾ã§ãã³ã¡ã³ãã¢ã¦ãã :11,20 s/^/#/ä»ããè¡ãã5è¡ãã³ã¡ã³ãã¢ã¦ããï¼è¡çªå·ã¯ç¾å¨è¡ï¼4ã«ãªãï¼ :.,+4 s/^/#/ã¡ãªã¿ã«ãç¾å¨è¡ã¯ Ctrl-g ã§åããã
{{#tags}}- {{label}}
{{/tags}}