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

pro tip

lemm.ee

message-square
119
link
fedilink
1.51K

pro tip

lemm.ee

abobla@lemm.ee to linuxmemes@lemmy.world · 3 months ago
message-square
119
link
fedilink
  • Drew Belloc@ani.social
    link
    fedilink
    English
    arrow-up
    31
    ·
    3 months ago

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

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      29
      ·
      3 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
        15
        ·
        3 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
          14
          ·
          3 months ago

          I believe it does take confirmation via the ENTER key.

          • cactopuses@lemm.ee
            link
            fedilink
            arrow-up
            10
            ·
            3 months ago

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

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

        Ok i loved it

    • kibiz0r@midwest.social
      link
      fedilink
      English
      arrow-up
      11
      ·
      3 months ago

      Shorthand that works anywhere: sudo !!

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

      Yup I’m stealing that lol

    • anytimesoon@feddit.uk
      link
      fedilink
      arrow-up
      2
      ·
      3 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
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

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

    • Psythik@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      “Fucking” would be funnier and more grammatically correct.

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.

  • 453 users / day
  • 4.38K users / week
  • 9.54K users / month
  • 18.8K users / 6 months
  • 1 local subscriber
  • 24.9K subscribers
  • 1.31K Posts
  • 47.4K Comments
  • Modlog
  • mods:
  • Kevin@lemmy.world
  • zephyr@lemmy.world
  • rtxn@lemmy.world
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org