I would like to concentrate all my login config in my ~/.bash_profile
. There was a ~/.bashrc
there by default but I replaced it with a ~/.bash_profile
.
However, when I log in, something before my ~/.bash_profile
gets sourced and displays the following:
Linux ubnt10-dev1 2.6.32-38-server #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 x86_64 GNU/Linux
Ubuntu 10.04.4 LTS
Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc
System information as of Fri May 9 12:17:39 EDT 2014
System load: 0.01 Processes: 74
Usage of /: 5.5% of 18.58GB Users logged in: 0
Memory usage: 4% IP address for eth0: 123.x.x.x
Swap usage: 0%
Graph this data and manage this system at https://landscape.canonical.com/
New release 'precise' available.
Run 'do-release-upgrade' to upgrade to it.
Last login: Fri May 9 12:11:52 2014 from 123.x.x.x
I would like to remove that so that only my own splash greeting defined in my ~/.bash_profile
gets displays but I am not sure about the logic/sequence of scripts sourced/executed when a user logs in. Can you enlighten me?
As a bonus, I would also like to know the sequence of automated sourcings/execs when the system starts, not just when a user starts a session by logging in, albeit this is a concern of lesser importance to me right now.