I just realized that you can run a command at login by appending it to your .bashrc
For instance, I added a curl pointing to a certain address that immediately upon login returns a message that tells me whether I’m connected to my VPN provider or not.
Sorry for the beginner revelation. Just thought it was cool. :3


I like to add
fortunefor it to tell me jokesOr message of the day :D
Is there a literal message of the day package or just “write yourself a message of the day”?
Source: https://en.wikipedia.org/wiki/Message_of_the_day
Although many modern distros probably have it removed or disabled by default because of a shift in culture and whatnot.
On Arch, it seems to be the login program that loads it.