Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was following this guide that helped me with symlinks and personal folders a few times already, but I messed up cause I accidentally did the same thing for the Desktop folder. Then I wanted to return it to normal and I typed

rm -rf ~/Desktop && ln -s /home/tesla/Desktop ~/Desktop

But the product of that was all my personal folder on my desktop when I re-logged in. Then I tried

rm -rf ~/Desktop && ln -s /home/tesla ~/Desktop

But it made an invalid link on my desktop.

Is there a way to reset everything the way it was so I can redo this carefully?

Thanks in advance.

share|improve this question
Please update your question with information about your current working directory when executing mentioned commands (you can find those executing the pwd command). – Izzy Jul 31 '12 at 9:03

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.