0

I logged in as a root user and when moving a file, instead of:

mv myfile .

I entered

mv myfile ,

And now my file is gone but I am not sure where to. Where has it moved to?

4

You renamed the file to ","

To undo that

mv , myfile
  • Oh my!...Been staring at the screen for too long. Missed the , at the top of the ls output! Thanks Thomas! – dayuloli Mar 5 '16 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.