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

    • melroy@kbin.melroy.org
      link
      fedilink
      arrow-up
      2
      ·
      34 minutes ago

      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.