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

I am using Ubuntu 12.04.The users delet settings and .dot files and folders from my home folder.I decided to a start up script.

cp -r /etc/skel/* $HOME/

The script works fine but copies all files in to the file system itself and not at home!How can I manage this script to copies to home on every start up.Thank u in advance!

share|improve this question
From which account are you issuing your cp command? What does echo $HOME return as answer? – Gertjan Oct 7 '12 at 20:52

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.