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

    • arran 🇦🇺@aussie.zone
      link
      fedilink
      arrow-up
      3
      ·
      5 hours ago

      I use zsh… It’s still complex enough to be an issue. I suspect that bash’s complexity might make it simpler for common use-cases without having to understand it.