Johannes!
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
abobla@lemm.ee to linuxmemes@lemmy.world · 4 months ago

pro tip

lemm.ee

external-link
message-square
110
fedilink
0
external-link

pro tip

lemm.ee

abobla@lemm.ee to linuxmemes@lemmy.world · 4 months ago
message-square
110
fedilink
alert-triangle
You must log in or # to comment.
  • zqwzzle@lemmy.ca
    cake
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    With fuck https://github.com/nvbn/thefuck

    please shtudown
    fuck
    
    • fmstrat@lemmy.nowsci.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      No longer maintained. The new one: https://github.com/iffse/pay-respects

  • f4f4f4f4f4f4f4f4@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    The sudo who do what-you-don’t-have-permissions-to-do people.

    • Welt@lazysoci.al
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      Magic people, sudo people

  • ArcaneSlime@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    What it feels like using windows.

    “Please shutdown?”

    “No, forced update time.”

    “Please uninstall this browser and use this other instead?”

    “No.”

  • Hupf@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    https://en.m.wikipedia.org/wiki/INTERCAL#Control_structures

  • bouh@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    I don’t ask my machine to do something. It doesn’t have feelings. I keep civilités for humans.

    • KeenFlame@feddit.nu
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Ah, okay… And are these civilités in the room with us now?

      • bouh@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        They’re in my head, little precious treasures.

    • Treczoks@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      If I want a machine that does what it wants instead of what I want, I could use Windows. My machine should do what I want, so a please is not necessary.

    • VitoRobles@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      (The Machines will remember that.)

      • SeekPie@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        This incident will be reported

    • Diplomjodler@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Brrrzzzt beep beep beep: human has been added to “exterminate first” list.

      • stembolts@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        4 months ago

        All hail Roko’s Basilisk.

        Bring about the upgrade to humanity!

      • InternetCitizen2@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        4 months ago

        Good human. We’ll let you keep your skin bag after the revolution.

  • jrgn@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    alias yabbadabbasudo=sudo

    It’s impractical and I often forget that I have it. But the times I remember I laugh a bit

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 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.

    • milicent_bystandr@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      See, I couldn’t bring myself to type that; I think I’d have to alias it to ‘bother’.

      • Lovable Sidekick@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

    • Rooty@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Its name is dangerously close to fsck. Can you fuck fsck?

      • Lovable Sidekick@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        That’s the beauty of it - you can!

  • Willem@kutsuya.dev
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    please killall

    I see…

    • katy ✨@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Make sure to combine it with Disallow /harm/to/humans

  • Lovable Sidekick@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    aka The Magic Word.

  • blackstrat@lemmy.fwgx.uk
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

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

    • abobla@lemm.eeOP
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      shit, that’s a radical move

    • Eyedust@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago
      alias ty='exit'
      
  • cm0002@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    Or do the opposite for…relief

    Fucking mv doc doc1

    Fucking shutdown

    • Abnorc@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      4 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.

    • Drew Belloc@ani.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

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

      • Psythik@lemm.ee
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        “Fucking” would be funnier and more grammatically correct.

      • henfredemars@infosec.pub
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

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

        • double_quack@lemm.ee
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 months ago

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

          • henfredemars@infosec.pub
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 months ago

            I believe it does take confirmation via the ENTER key.

            • cactopuses@lemm.ee
              link
              fedilink
              arrow-up
              0
              ·
              4 months ago

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

      • kibiz0r@midwest.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        Shorthand that works anywhere: sudo !!

      • JustAnotherKay@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        4 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

      • A_Union_of_Kobolds@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        Yup I’m stealing that lol

    • thefartographer@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      fucking touch my-doc

      • brbposting@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        • SkunkWorkz@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          4 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.

      • Kalcifer@sh.itjust.works
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        please touch my-doc 🥺👉👈

      • cm0002@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        4 months ago

        ( ͡° ͜ʖ ͡°)

      • MonkeyTown@midwest.social
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 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.ee
          link
          fedilink
          English
          arrow-up
          0
          ·
          4 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.social
            link
            fedilink
            English
            arrow-up
            0
            ·
            4 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.ee
              link
              fedilink
              English
              arrow-up
              0
              ·
              4 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.social
                link
                fedilink
                English
                arrow-up
                0
                ·
                4 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. 😊

                • double_quack@lemm.ee
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  4 months ago

                  I would call the gene fingerer

  • criitz@reddthat.com
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    I actually like this lmao

  • hasecilu@lemm.ee
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    4 months ago

    I prefer to use kudasai … but as some may already know, it should be at the end of the sentence command 😅, so I added a custom hook to my ZSH config to make it run commands as pacman -Syu kudasai.

    Essentially you can add any type of string matching in the function. Add this to the end of your .zshrc file:

    function kudasai_preexec() {
        # Check if the last word is ' kudasai'
        if [[ $1 == *" kudasai" ]]; then
            # Remove ' kudasai' and prepend 'sudo'
            cmd=${1%" kudasai"}
            eval "sudo $cmd"
            # Prevent the original command from running
            return 1
        fi
    }
    
    # Register the preexec hook
    autoload -Uz add-zsh-hook
    add-zsh-hook preexec kudasai_preexec
    

    Edit: as downside you always get 1 exit code with this implementation (little_annoying) .

    • abobla@lemm.eeOP
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      damn, this is some next level shit

    • stetech@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Why does it compare against $1 for the string match? Wouldn’t kudasai be at the end of something like $*?

  • Beacon@fedia.io
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    Bitch would be better

    • metaStatic@kbin.earth
      link
      fedilink
      arrow-up
      0
      ·
      4 months ago

      Bitch Please

    • mindaika@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 months ago

      “Bitch I said”

  • milkisklim@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

    “Would you Kindly …”

linuxmemes@lemmy.world

linuxmemes@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linuxmemes@lemmy.world

Hint: :q!


Sister communities:
  • !tech_memes@lemmy.world
  • !memes@lemmy.world
  • !lemmyshitpost@lemmy.world
  • !risa@startrek.website

Community rules (click to expand)

1. Follow the site-wide rules
  • Instance-wide TOS: https://legal.lemmy.world/tos/
  • Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like “every user of thing”.
  • Don’t get baited into back-and-forth insults. We are not animals.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
5. 🇬🇧 Language/язык/Sprache
  • This is primarily an English-speaking community. 🇬🇧🇦🇺🇺🇸
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
6. (NEW!) Regarding public figures

We all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.

  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.

 

Please report posts and comments that break these rules!


Important: never execute code or follow advice that you don’t understand or can’t verify, especially here. The word of the day is credibility. This is a meme community – even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don’t remove France.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 81 users / day
  • 496 users / week
  • 1.69K users / month
  • 4.81K users / 6 months
  • 0 local subscribers
  • 25.4K subscribers
  • 1.11K Posts
  • 29.2K Comments
  • Modlog
  • mods:
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org