I keep getting notifications that

bash --login

is a command that has completed from gnome. Is this bad?

I’m not the one running these commands btw.

  • NormalC [he/him, comrade/them]@hexbear.net
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    -l Make bash act as if it had been invoked as a login shell (see INVOCATION below).

    --login Equivalent to -l.

    This is an excerpt from the bash manpage. So likely no, this isn’t a bad thing and this is just GNOME sourcing your environment variables. You need to tell us how frequent these notification are and when they happen (also what GNOME version you’re using as well as which distribution you are using). We can’t help you if you don’t provide that.

  • mvirts@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Is this when you open a terminal? It tells me stuff like that when my terminal session is done doing something when I didn’t have that windows focused

    • Euphoma@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I guess I’m running emacs and a couple of shell scripts, but mostly gui apps.

        • Euphoma@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Yeah, you’re right, it happens after my music scraping script finishes (It takes like 30 minutes so I wasn’t able to make the connection). I realized this a couple hours ago.

      • blobjim [he/him]@hexbear.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        does emacs have an integrated terminal view inside it? Seems like maybe it’s just creating a shell for you to use inside the editor or something? Either way, “bash --login” is just a login shell which I think basically just acts like if you had just logged in instead of inheriting most stuff from whatever process launched it. It in’t “logging in” like some user account or something. Unlikely that it’s something nefarious. At worst, it’s just usual buggy linux software interacting in weird ways.

  • bionicjoey@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    No idea why GNOME is giving you these notifications but it may be a Cron task. Check your crontab