
linuxmemes
Hint: :q!
Sister communities:
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
sudoin Windows. - No porn, no politics, no trolling or ragebaiting.
- Don't come looking for advice, this is not the right community.
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.
Life pro tip: good manners make it easier to get what you want
ACTUAL good advice?! Is that even allowed here??
I have it aliased to "pls"
... but I don't use it.
Nah. Fuck being polite to computers. It's an object and I own it. I'll shoot it the instant it expresses any level of personhood.
But the whole reason I use Linux is because I donβt ask it to do things, I tell it to do things, because itβs a machine, and itβs my machine.
You could alias sudo to just for a little more rudeness.
Iβm also not trying to be rude to my machine, thatβs erroneous, Iβm not going to treat a computer like it thinks or has emotions, one way or the other.
What I don't get is why deny the execution of a command because the lack of sudo instead of just notice that it needs elevated privilege and ask for password
It's kind of bad for scripts, where it can be either annoying or genuinely problematic, when your script hangs on a password prompt. You typically do want it to just fail right away, because if you have monitoring, then you'll be able to spot it failing.
These days, it is (largely reliably) possible to detect whether a command is being run interactively or as part of an unattended script, so you do see some commands that trigger a sudo password prompt only for interactive use, for example systemctl does this. But this adds quite a bit of complexity to each individual program, so it isn't really something that's going to be implemented universally.
I also have to say that systemctl kind of gets on my tits when it does that, because it throws up a GUI dialog for grabbing the password, which is quite jarring.
alias srsly="sudo !!"
I prefer "sota !!"

In the interests of Linux commands generally being short abbreviations, I suggest "pls".
Try "Bruh"
Bruh shutdown
Or icanhaz
gooby pls
Maybe pls for the su command?
I have please run the previous command as sudo
i love that!
Aurenkin is not in the pleasers file. This incident will be reported.
alias thanks="echo 'You are most welcomed'"
please shutdown; thanks
I know this is a meme and not GitHub, but I thought some people might like to learn that if you do please shutdown && thanks it won't say you're welcome if the shutdown failed
alias sudo fucking
fucking systemctl restart firewalld.service
fucking shutdown
alias thanks="You are most welcomed"
you need to use the echo command if you want to echo something:
alias thanks="echo 'You are most welcomed'"
(the inner single-quotes are not strictly required in this case, but recommended nonetheless)
Huh yeah my bad, wrote this too fast in-between two messages at work
Why are root privileges needed to move and search for files in the home directory?
Yes, of course the codemopolitan directory could be owned by root, but why??
We need more women in tech.
you can always become the woman in tech
robm@homebox ~$ please su
[sudo] password for robm:
robm is not in the sudoers file. This incident will be reported.

Mor leters, pas
I also like fuck, which attempts to run the first suggested syntax in the error output of the previous command.
I prefer an alias that actually reflects my feelings.
alias didistutter="sudo"
alias didistutter="sudo !!"
I'd recommend this version so you don't actually have to repeat yourself.
FWIW, using a shell function is preferred (according to Bash docs) and probably a lot more flexible, and less dangerous. No, actually, anything in Linux can be dangerous.
And while I'm also in the camp of trying to make the Basilisk happy, I doubt it's going to work.
Any superintelligent AI that will extrapolate the past to judge my actions and my innermost thoughts and attitudes won't be impressed by obeisance. Tell Roko what you really think, and have some self respect. Those Less Wrong types really miss the mark with all that shit.
Works really great if you compile sudo with insults enabled: https://github.com/sudo-project/sudo/blob/70c1ee4b44f5b15822919c05ffbde857fa879e48/plugins/sudoers/ins_classic.h
Maple Linux needs to get this baked in.
