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

  • thingsiplay@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    11 hours ago

    alias grep='grep --color=always'

    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.