.bashrc is the primary configuration file for the bash shell.

learn more… | top users | synonyms

14
votes
2answers
980 views

.bashrc overwritten but still sourced — how can it be recovered?

Usually when I find a command I want to alias, I echo it to my .bashrc like so: [up button pressed to last command, then line edited so that it reads] $echo "command-i-just-did" >> ~/.bashrc ...
1
vote
1answer
2k views

.bashrc doesn't get executed

I have a user (non-root) which has a ~/.bashrc file with some aliases in it. But it doesn't look like the file is executed at log in time. If I do source ~/.bashrc then it does what it's supposed to. ...
5
votes
2answers
554 views

Can a home directory have both .cshrc and .bashrc files?

Or are they both not allowed at the same time?