I accidentally deleted my ./Profile from my pi user. How can I get it back?

  • 1
    Ok, I found the answer. The .profile is in /etc/skel/ so you can just copy it back to your home directory. Nov 28, 2013 at 0:03
  • 2
    Then post that as an answer an accept it!
    – syb0rg
    Nov 28, 2013 at 0:04

1 Answer 1


Just copy /etc/skel/.profile to your home folder:

cp /etc/skel/.profile ~/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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