Ubuntu: Tried to move a file and now i cant find it



Question:

I am using Ubuntu 15.10 and I had a file name __app.zip and I was wanting to move that inside the folder name testing

To move the file i used the following command after which I cant find the file anymore, from searching online I understand now that i did not need to put / before the folder name.

sudo mv __apps.zip /testing  

Is there anyway to get the lost file back?


Solution:1

You renamed your file testing in the root directory / with your command.

To move it back to where it was, just move it again:

sudo mv /testing /var/www/html/domain_name.com/subdomains/demo/__apps.zip  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »