I think I had a typo when I add a path to ~/.bashrc
and after I source it, I cannot use bash commands anymore.
Now I want to restore a normal ~/.bashrc
, however most of the discussion I found (e.g. How to fix a .bashrc that's been edited wrongly?) needs to use bash commands e.g. cp
clam@cuerei:~# cp /etc/skel/.bashrc ~
cp: /home/cltam/script/lib/libc.so.6: version `GLIBC_2.17' not found (required by cp)
May I know how could I restore ~/.bashrc
without using bash commands?
Thank you.