• A_A@lemmy.world
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    3 hours ago

    Layman explanation :
    “PS1” is the primary shell prompt.
    So, it is that which the linux operating system displays at the start of each line where you, the user, type a command.
    Obtaining “#” as the prompt would normally indicate to the user that the next command is to be accepted as having “root privileges” (thought it could do whatever to the system) … but in the above case, the “#” doesn’t mean that … nor anything other than : that prompt as been changed.

    • diaphragmwp@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      23 minutes ago

      Ah yes, the linux operating system… It’s actually usually Linux distros that display lots of things with colors, other unixes are usually just the hostname with $ or #. Identifies the machine and isn’t distracting, just how I like it. Except for the part when I forget which dir I am in, of course.

    • A_A@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      6
      ·
      edit-2
      2 hours ago

      So, sadly, the joke here really is :
      “Hey we programmers are so bright since we do understand this while laymen do not.”

      Edit : added “sadly” for my criticism to be obvious.

      • FluorineBalloon@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        ·
        38 minutes ago

        It’s actually “this joke made me laugh but not a lot of people will understand, so I’m posting it in a space where like minded people hang out rather than confuse most people by posting it in a general humor community.”

        Not everything is an attack.

        • A_A@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          27 minutes ago

          i value your opinion and it’s probably better on topic than mine since i am quite bitter about programming and software. Whatever the O.S. , linux , Microsoft or other, since many decades, it is still creating trouble … yet i use some of it right now. Nevermind, i should be happy that people can make jokes and have a good time.

        • A_A@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          21 minutes ago

          i accept your constructive criticism : your comment helps me a little understand myself.

  • dbx12@programming.dev
    link
    fedilink
    arrow-up
    12
    ·
    3 hours ago

    I already found another one!

    echo $USER prints my current user name. Once I do USER=root it shows im running as root. And I wasn’t even asked for my sudo password! :O :O :O

  • khannie@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 hours ago

    For half a second I nibbled the onion. It didn’t taste good.

    Maybe 0.1 seconds. The filthy taste is still in my mouth though.