且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

.bashrc语法错误:文件意外结束

更新时间:2022-03-23 22:38:56

由于缺少"fi"行,我遇到了相同的错误.确保忽略语法错误. 原始的.bashrc位于/etc/skel/中.因此,只需运行以下命令:

I had the same error due to missing "fi" line. Make sure to omit syntax errors. The original .bashrc is located in /etc/skel/. So just run the following command:

cp/etc/skel/.bashrc〜

cp /etc/skel/.bashrc ~