Question:

Linux Terminal Commands?

by  |  earlier

0 LIKES UnLike

I'm learning terminal commands and I encountered a problem. I had a folder on my desktop that I successfully moved into my "Documents" folder via:

~/desktop$ mv "Folder" /home/"user"/Documents

so then I tried to move it back to the desktop from the Documents folder via:

~/Documents$ mv "Folder" /home/"user"/desktop

BUT!!!!!...i forgot to use a capitol "D" in Desktop in the last command...and the folder disappeared without it being moved to my desktop. How can I get that folder back, undo that command, or find the folder? Thanks

 Tags:

   Report

1 ANSWERS


  1. Hi,

    This is the way it worked;

    Your folder called "Folder" is now called "desktop"

    so

    to get it back

    go to

    /home/"user"

    with the command

    cd /home/"user"

    then give the command

    mv desktop /home/"user"/Desktop/Folder

    and you are done!!

    -R.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.