課程
/運(yùn)維&測試
/Linux
/Linux Guide for Developers
出現(xiàn)了 ?zsh: corrupt history file /home/ruby/.zsh-history 該怎么辦?
2015-07-23
源自:Linux Guide for Developers 2-1
正在回答
運(yùn)行下面命令即可解決:
curl https://gist.githubusercontent.com/kolach/fa104674bf2803fb4d54/raw/e2db3adc1a8be7d08bd45e335d5518b714e01b10/fix_zsh_history.sh | zsh
cp?.zsh_history?zsh_history rm?-f?.zsh_history? strings?zsh_history?.zsh_history
舉報(bào)
Linux命令行世界生存指南,讓本課程成為你初 Linux世界的向?qū)?/p> 進(jìn)入課程
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-11-02
運(yùn)行下面命令即可解決:
curl https://gist.githubusercontent.com/kolach/fa104674bf2803fb4d54/raw/e2db3adc1a8be7d08bd45e335d5518b714e01b10/fix_zsh_history.sh | zsh
2016-01-01