historyã®æ¥ãããæ¶ãæ¹æ³ å ±ç¨ãµã¼ãã¼ãªã©bashã§ã³ããã¨ãã§ééã£ãã³ãã³ãã¨ãæã£ã¦ historyã«æ¸ãããæ¥ãããæ¶ãæ¹æ³ 1è¡ã®å±¥æ´ãæ¶ã 失æããã®ãï¼è¡ã®å ´å history -d offset offsetã«åé¤ãããè¡çªå·ãå ¥ãã ãããã³ã¬å®è¡ããã¨ãhistory -d ã®å±¥æ´ã¯æ®ãç½ è¤æ°è¡ã®å±¥æ´ãæ¶ã historyãã¡ã¤ã«ãç´æ¥ç·¨é vi ~/.bash_history ã³ã¬ãä¸çªæã£åãæ©ãã¨å人çã«ã¯æã å ¨é¨æ¶ã å±¥æ´ãå ¨é¨æ¶ãç·æ°ããµããã³ãã³ããã³ã¬ãããã¨éã«æãããå¯è½æ§å¤§ history -c


{{#tags}}- {{label}}
{{/tags}}