课程
/运维&测试
/Linux
/Linux Guide for Developers
出现了 zsh: corrupt history file /home/ruby/.zsh-history 该怎么办?
2015-07-23
源自:Linux Guide for Developers 2-1
正在回答
运行下面命令即可解决:
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
举报
Linux命令行世界生存指南,让本课程成为你初 Linux世界的向导
购课补贴联系客服咨询优惠详情
慕课网APP您的移动学习伙伴
扫描二维码关注慕课网微信公众号