• cm0002@lemmy.world
    164·
    5 months ago

    Or do the opposite for…relief

    Fucking mv doc doc1

    Fucking shutdown

      • MonkeyTown@midwest.socialEnglish
        183·
        5 months ago

        I thought for sure, for sure this was bullshit. For sure Linux doesn’t have a touch command. What could it possibly do.?

        Changing timestamps and creating empty files…

        Of course, that makes so much sense. 🤔

        • double_quack@lemm.eeEnglish
          25·
          5 months ago

          It does make sense! When you modify a file, you do “things” on it, you write it. So the minimum you can possibly do to a file to modify it, is “to poke it”: to touch it.

          • MonkeyTown@midwest.socialEnglish
            101·
            5 months ago

            I mean I’m sure that’s the logic or something but…

            Man it just feels wrong. Like the sonic hedgehog gene feels wrong. You know?

            • double_quack@lemm.eeEnglish
              5·
              5 months ago

              Hahahha, I just learnt about that gene a little while ago and thought the same: that’s an stupid name for a gene. How would you name them? (the gene and the command)

              • MonkeyTown@midwest.socialEnglish
                5·
                5 months ago

                Imagine being a doctor telling a couple their fetus died because of a sonic hedgehog gene mutation, tho. (This does happen)

                Like, it won’t matter in another few hundred years, but culture is difficult right now.

                Makes me wonder if the romans did meme shit like that. They graffiti shitposted and whatever so…

                Luckily nobody asks me what I would name shit because my pets are testament to my complete lack of creativity. 😊

        • SkunkWorkz@lemmy.world
          51·
          5 months ago

          Ah Donglegate, good times. Even funnier that the guy who got fired because of this lady’s tweet sided with her like a meek little bitch.

    • Drew Belloc@ani.socialEnglish
      31·
      5 months ago

      Fuck will always be my alias to run sudo with the last command

      • henfredemars@infosec.pubEnglish
        29·
        5 months ago

        There’s a project that automatically corrects common errors with your last command as well with the same name.

        • double_quack@lemm.eeEnglish
          15·
          5 months ago

          It sounds fun and “magic” but it is hella scary to blindly run some “fixed” command

            • cactopuses@lemm.ee
              10·
              5 months ago

              It does! It’s usually pretty good at figuring it ont to. Though I only use it with non-destructive commands

      • JustAnotherKay@lemmy.world
        7·
        5 months ago

        Between the fuck utility and this alias idea, when I set up my next box I’m absolutely aliasing “fuck off” for sudo the last command and “please” for sudo itself

      • Psythik@lemm.ee
        2·
        5 months ago

        “Fucking” would be funnier and more grammatically correct.

      • anytimesoon@feddit.uk
        2·
        5 months ago

        How do you alias the last command? My aliases are all hard coded. I had no idea you could send a variable to an alias

        • Omega@sh.itjust.works
          2·
          5 months ago

          Probably with !! (!n will be the command corresponding to the number n in your history, !! is shorthand for the last command)

    • Abnorc@lemm.ee
      3·
      5 months ago

      I wonder if you could make it sass you every so often to complete the effect.

      Fucking shutdown

      Chill my man. I’m on it.

  • gi1242@lemmy.world
    1624·
    5 months ago

    please remove the French language pack

    please rm -fr /*
    
      • ivanafterall ☑️@lemmy.worldEnglish
        35·
        5 months ago

        If you’re out of the loop: this is part of the joke tricking people into dedicating precious hard drive space to an unnecessary language pack.

    • Zron@lemmy.world
      19·
      5 months ago

      Now a days you have add —no-preserve root after the laggy French pack to fully remove it.

      • okr765@lemmy.okr765.comEnglish
        6·
        5 months ago

        Not with the asterisk! The shell automatically expands the asterisk before sending the args to rm, removing every French language pack in your root directory.

  • 97xBam@feddit.onlineEnglish
    74·
    5 months ago
    $ alias please="sudo"  
    
    $ alias stay="shutdown"  
    
    $ please stay_  
    
  • Offbus@lemmy.world
    68·
    5 months ago

    Nah, uh, uh. You didn’t say the magic word!

  • Lovable Sidekick@lemmy.worldEnglish
    631·
    5 months ago

    side note: My all-time favorite linux utility is “fuck”. When you make a mistake and get a command line error, you type the word fuck and it looks at what you previously typed and the error message, and tries to figure out your mistake and what you should have typed instead. Then it types that in for you. If it’s correct all you have to do is hit Enter. Or you can edit first, but it’s usually right. Amazing tool, and doesn’t even use AI, just a list of common errors. It’s been around for years and years. Its mere existence really captures the whole culture of linux IMO.

  • blackstrat@lemmy.fwgx.uk
    61·
    5 months ago

    I aint typing out ‘please’, I will compromise on alias plz='sudo'

    • Shady_Shiroe@lemmy.world
      351·
      5 months ago

      Alias albert=apt

      please albert-get update
      

      Edit: oops sorry didn’t mean to reply to your comment, I’m on mobile so I thought was new comment

      • MonkderVierte@lemmy.ml
        8·
        5 months ago

        That’s please albert update nowadays.

        Why is apt-get still around?

        • KnoLord@lemmy.zip
          5·
          5 months ago

          apt on its own isn’t safe to use in shell scripts while apt-get is. At least, that is the output I get when using apt in a script on Debian.

          That is the only reason, for interactive sessions use apt, for automated scripts apt-get.

    • scaramobo@lemmynsfw.com
      2·
      5 months ago
      atlas:: $ andrewryan=1
      atlas:: $ wouldyoukindly kill -9 $andrewryan