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

  • MonkderVierte@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    18 hours ago

    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.