I zipped a file and mistakenly moved it to tmp instead of /tmp. Now, I can't seem to find the zip file anywhere. I tried using the command 'find / -name "zipname.zip"', but I didn't have any luck. Is my file lost for good?
3 Answers
Honestly, using a file manager from your distribution might be easier than the command line for now, especially while you're getting the hang of Linux.
You might want to check the directory you were in when you moved the file. Use the command `ls -blA` to list all files and see if it’s hiding there.
It turns out that the `tmp` is treated the same as `tmp` by the shell. Since you moved the file with that prefix, you actually renamed it to 'tmp'. That's why 'find' can't locate it under its original name.

Solved! I found it, it added 'tmp' to the start of the file name.