different .bashrc files for different login nodes?

Posted by 130490868091234 on Super User See other posts from Super User or by 130490868091234
Published on 2012-04-14T11:10:53Z Indexed on 2012/04/14 11:33 UTC
Read the original article Hit count: 260

Filed under:
|
|

Can I have different .bashrc files loading when logging into different nodes that share the same home dir?

This is, I am mostly interested to loading different PATH directories when logging as bash, depending on the different Linux nodes I log into? For example, if I log into bash in machine abc-01, I would like to have a given .bashrc loaded, but when I log into abc-02, that uses the same /home/username directory, I would like to use a different .bashrc. How can I go about doing that?

© Super User or respective owner

Related posts about linux

Related posts about bash