I've made a huge mistake by running rm -r /*
on my ubuntu 16.04. But i managed to cancelled the on going command quickly using ctrl-c
. Now all my bash is not working. For example if i type 'ls
' in my directory, it will show 'command not found
'. it seems that all command is affected and i just can use cd command.
what i found out is that my files at /var/www/html
is still intact and not deleted and my web application is still running with minor issues.
I have done the change PATH fix but i found out that my /bin
is deleted and my home directory is deleted.
Question 1 : is there any way i can repair my ubuntu 16.04 without losing my files at /var/www/html
?
Question 2 : is there any way i can salvage my files at /var/www/html
?