I am logged into a remote shell and I had root access to this. I was trying to edit my .bashrc and .bashrc_profiles files when suddenly my connection snapped, leaving the files open. I suspect something went wrong. How can I restore these files from the command line?
I tried copying from /etc/skel, however my cp command is also not working. Neither do nano or vim work.