Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I added a new user, and logged in as it, but in home folder of my user didn't contain a .bashrc file. why didn't this file get created? Note that a .bash_history file did get created.

share|improve this question

migrated from stackoverflow.com Feb 20 '13 at 23:14

This question came from our site for professional and enthusiast programmers.

1  
In addition to an answer: it's ~/.bashrc, not ./bashrc. –  Anton Kovalenko Feb 20 '13 at 18:17
add comment

2 Answers

up vote 7 down vote accepted

Either You created user by using some simple command that does not copy the skeleton for user directory

Or the skeleton directory in /etc/skel does not contain the .bashrc file

share|improve this answer
add comment

This is not a problem. You can create the file if you need to customize your settings.

share|improve this answer
add comment

Your Answer

 
discard

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

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