Linux wrong path exported. How to recover ~./bashrc file

后端 未结 2 1437
温柔的废话
温柔的废话 2020-12-04 00:32

While I try to set java path on ~./bashrc file i exported like:

PATH=/usr/local/jdk1.6.0/bin
export PATH

which I guess makes a

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-04 00:49

    You can always run commands with absolute paths, like

    /bin/cp /etc/skel/.bashrc .bashrc
    

提交回复
热议问题