• @rockSlayer@lemmy.world
      link
      fedilink
      67 months ago

      I don’t know what exactly this will do, but I know enough about the terminal to get the feeling this is a bad idea

      • TheEntity
        link
        fedilink
        247 months 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
          77 months ago

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

      • @Vash63@lemmy.world
        link
        fedilink
        87 months ago

        It’ll give a list of processes with vim in the name. You could also just pgrep vim but that’s too easy.

    • @cheet
      link
      17 months ago

      How’d you get my shell history?