I typed this command in the terminal while trying to check if I correctly installed LAMP (Linux, Apache, MySQL, PHP) equivalent packages in Ubuntu:
sudo mv /home testing.html /var/www/html
I am new to this, and i wanted to move the testing.html file from home to /var/www/html
folder and then run the http://localhost/testing.html
to check if installation is complete.
After that it started displaying that my home directory and my directory under it; named yashgugale
has been deleted (yashgugale
had all the system files). Every time i tried to access documents, pictures, etc. under yashgugale
. Now it even refused to open terminal and I was unable to copy my yashgugale
folder back into default start directory.
Where did I go wrong and how I can correct this problem?
pkexec mv /var/www/html/home /home
in that box. If it works, this would save you lots of time as you won't need to use a live CD anymore.