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


Have you discovered aliases yet? I have a list of at least 50 in .bash_aliases. A good one is aliasing rm to rm -i
Thank me later:
alias ls='ls --color=auto' alias dir='dir --color=auto' alias vdir='vdir --color=auto' alias grep='grep --color=always' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' alias diff='diff --color=auto' alias ip='ip --color=auto' alias ll='ls -alFh' alias la='ls -A' alias l='ls -CF' alias minicom='minicom -con' alias gpgsign='gpg --detach-sign --armor "$@"' alias g='git' alias untar='tar -xvf'and more…
Also if you are more advanced try Starship https://starship.rs/. If you are even more advanced then move away from bash and go to Zsh.
Just so you know, fgrep and egrep are symlinks to grep and “auto” (color only for interactive stdout) is the default in most tools anyway. And “always” on grep will break some scripts.
Is this a typo or copy-paste error? Why are all other commands, including the grep variants, set to
auto, but not grep itself? Always color information could be in your way if you combine its output with other programs.