• TheEntity@kbin.social
    link
    fedilink
    arrow-up
    24
    ·
    1 year ago

    It searches for a process named vim using grep (which searches within provided lines), but since grep vim also contains vim, we then exclude grep too, so only the actual vim process gets found without the grep vim process. Sounds a lot like this post, doesn’t it?

    • rockSlayer@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Well that’s anticlimactic. Here I thought grep would continuously ping ps aux and softlock the terminal or something