Why are there two .bashrcs, ~/.bashrc
and /etc/skel/.bashrc
? When I compare them, I find no difference.
Asked
Active
Viewed 4,830 times
2 Answers
25
Every file in /etc/skel
gets copied to a (new) users $HOME directory when your create a new user. If they are the same you either have not made any changes to your file (most likely) or you copied your custom file to /etc/skel
.
See:
How do I set up new users with skel
http://www.linfo.org/etc_skel.html
http://www.linuxhowtos.org/Tips%20and%20Tricks/using_skel.htm

Panther
- 102,067
11
/etc/skel/.bashrc
is a default .bashrc
for every user created in the system.
~/.bashrc
is individual for each user.

Pilot6
- 90,100
- 91
- 213
- 324