bash: /home/tingtaishou/.bashrc: line 1: syntax error near unexpected token `('

修改.bashrc文件时不小心在第一行多输入了个i导致的。

还原.bashrc文件:

cd /etc/skel
cp .bashrc ~/  (覆盖了搞坏的文件)
cd /etc/skel
cp .bashrc ~/  (覆盖了搞坏的文件)
posted @ 2021-10-20 14:47  远方是什么样子  阅读(732)  评论(0编辑  收藏  举报