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.
/bin/cp ...
? Your$PATH
variable might be not set correctly due your problem. – Thomas Mar 11 '17 at 11:51