How to restore .bashrc
Posted
by
Miranda Webb
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Miranda Webb
Published on 2012-10-10T23:12:50Z
Indexed on
2012/10/11
9:52 UTC
Read the original article
Hit count: 488
Terminal shows this
bash: /home/atlas/.bashrc: line 73: syntax error near unexpected token `['
bash: /home/atlas/.bashrc: line 73: `if [ -x /usr/bin/dircolors ] ; then '
I've tried to fix it using
"cp /ect/skel/.bashrc ~/"
And I get this "cp: cannot stat `/ect/skel/.bashrc': No such file or directory"
I'm unsure of why this is doing this and how to fix it. I had previously been in the bashrc file messing around and apparently I've messed something up. All I want to do is restore the bashrc file to factory settings.
© Ask Ubuntu or respective owner