Undertanding .bashrc and .bash_profile

Posted by Blankman on Ask Ubuntu See other posts from Ask Ubuntu or by Blankman
Published on 2012-04-12T17:03:11Z Indexed on 2012/04/12 17:41 UTC
Read the original article Hit count: 339

Filed under:
|

On a server when I login as root I see .bashrc (ubuntu 10.10).

On my Mac I have a .bash_profile, does ubuntu always have only a .bashrc file and not .bash_profile? (just confused so asking, I realize they are different o/s's but maybe there is a relationship somehow?)

On my server, I want to create an alias, should I put it in .bashrc?

What if I want this alias to be applied so all users can use it?

© Ask Ubuntu or respective owner

Related posts about bash

Related posts about alias