Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hey Im stucked with this problem...

Im using PCBSD (freebsd) which has default csh shell, now I wanted to use bash as a default so I made

> chsh -s /bin/bash milo

now i have in passwd

> milo:*:1001:1001:milo:usr/home/milo:/bin/bash

everthing seems to be ok after reboot (bash default)

And now I need for my .bashrc to start automatically when login and it doesnt...

my bashrc is located by default in /compat/linux/etc/skel/.bashrc

bashrc obviously isnt starting automatically. I already tried source it to the ~/.profile, usr/home/milo/.profile and .bash_profile and so on still nothing

I noticed (when Im in csh shell) that with .cshrc which is located in ~/cshrc (csh shell), I added aliases and after reboot everything was working!.

So there might be a issue with changing the shell vs autostarting files

Please help

share|improve this question

You should copy /compat/linux/etc/skel/.bashrc to your $HOME :

cp /compat/linux/etc/skel/.bashrc ~
editor ~/.bashrc || vi ~/.bashrc
share|improve this answer
THANKS! problem solved. My fail, I just navigaed to the wrong folder whole time and that was root folder not my user ~ folder. – Milo Homola Feb 17 '13 at 4:18
If you think that the answer is useful, you can 'upvote' it. If you think that the answer is well answerred, you can 'accept' it by clicking the outline of the checkmark (will be green), this way, people searching stackexchange website will known that the question is well answered. That's how stackechange websites works, thanks ;) – Gilles Quenot Feb 17 '13 at 4:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .