0

I have deleted my bashrc file originally .how can i retrieve it.

when i use vi .~/bashrc command.

".~/bash.rc" E212: Can't open file for writing
screen does look like above
  • The title question is answered in this question about data recovery, but the error at the end is because you have mistyped the path (it should be ~/.bashrc); I'm not sure which one you actually mean to ask. – Michael Homer Jan 4 '17 at 9:22
5
$ cp /etc/skel/.bashrc ~/.bashrc
| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.