please apt install clang
User isn't in polite boy list. This incident will be reported.
18 0 Replyside 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.
62 1 ReplyIts name is dangerously close to fsck. Can you fuck fsck?
19 1 ReplyThat's the beauty of it - you can!
13 0 Reply
See, I couldn't bring myself to type that; I think I'd have to alias it to 'bother'.
4 0 Reply2 0 Reply
please killall
I see...
176 0 ReplyMake sure to combine it with
Disallow /harm/to/humans
4 0 Reply
alias go-go-gadget=sudo
$ go-go-gadget apt update
100 0 Replyalias bridge-to-engineering=sudo
11 0 Replyalias computer=sudo
7 0 Reply$ scotty-i-need-more cowbell
2 0 Reply
I love this haha
5 0 Reply
please remove the French language pack
please rm -fr /*
154 4 ReplySome people just wanna see the world burn
43 0 ReplyFor people that don't get the joke: this messes up your system
26 1 ReplyIf 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.
30 0 Reply
Now a days you have add —no-preserve root after the laggy French pack to fully remove it.
19 0 ReplyNot with the asterisk! The shell automatically expands the asterisk before sending the args to rm, removing every French language pack in your root directory.
4 0 Reply
Or do the opposite for..relief
Fucking mv doc doc1
Fucking shutdown
159 0 Replyfucking touch my-doc
121 0 Replyplease touch my-doc
🥺👉👈65 0 Reply( ͡° ͜ʖ ͡°)
40 0 ReplyI 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. 🤔
17 2 Reply7 1 Reply
Fuck will always be my alias to run sudo with the last command
31 0 ReplyShorthand that works anywhere:
sudo !!
10 0 ReplyBetween 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
7 0 Reply"Fucking" would be funnier and more grammatically correct.
2 0 ReplyYup I'm stealing that lol
4 0 ReplyHow do you alias the last command? My aliases are all hard coded. I had no idea you could send a variable to an alias
2 0 Reply
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.
2 0 Reply
I aint typing out 'please', I will compromise on
alias plz='sudo'
59 0 Replyshit, that's a radical move
34 0 Replyalias ty='exit'
14 0 Reply
alias alias='alias'
21 0 ReplyI'm scared of you
16 0 Reply
I might actually do this, it seems nice.
19 0 Replysuddenly makes the xkcd much more wholesome too
8 0 ReplyLikewise
2 0 Reply
11 0 Reply$ alias please="sudo"
$ alias stay="shutdown"
$ please stay_
74 0 ReplyOof right in the feels
22 0 ReplyUse
shutdown -h now
or-P 0
Or just use
poweroff
11 0 Reply
please rm -rf /
17 1 Replyplease shutdown
THIS INCIDENT WILL BE REPORTED.
10 0 ReplyI prefer to use
kudasai
... but as some may already know, it should be at the end of thesentencecommand 😅, so I added a custom hook to my ZSH config to make it run commands aspacman -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) .7 0 Replydamn, this is some next level shit
3 0 ReplyWhy does it compare against
$1
for the string match? Wouldn’tkudasai
be at the end of something like$*
?2 0 Reply
alias fuck=sudo !!
53 2 ReplyI much prefer this package for my
fuck
command https://github.com/nvbn/thefuck18 0 Reply
This from the OS that made me have to do a search for "how to kill children".
71 1 Replywasn't that Windows?
don't make me watch the task manager video again ...
21 0 Replywhat task manager video?
3 0 Reply
Nah, uh, uh. You didn’t say the magic word!
68 0 Reply68 0 ReplyThat's what I came for.
6 0 Reply
Yeah yeah I forgot that power word, let's hope you have at least 100hp then…
2 0 Reply
alias yabbadabbasudo=sudo
It's impractical and I often forget that I have it. But the times I remember I laugh a bit
24 1 Replyalso set up
insults
in sudoers for a unique experience38 0 ReplyAlias 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
35 1 ReplyHow dare you. Straight to Lemmy jail!
24 0 ReplyThat's
please albert update
nowadays.Why is apt-get still around?
8 0 Reply
please !!
42 0 Reply'Aurenkin' is not in the pleasers file. This incident will be reported.
38 0 Reply
I don't ask my machine to do something. It doesn't have feelings. I keep civilités for humans.
24 4 Reply(The Machines will remember that.)
31 0 ReplyThis incident will be reported
3 0 Reply
Brrrzzzt beep beep beep: human has been added to "exterminate first" list.
12 0 ReplyAll hail Roko's Basilisk.
Bring about the upgrade to humanity!
10 0 ReplyGood human. We'll let you keep your skin bag after the revolution.
2 0 Reply
Ah, okay.. And are these civilités in the room with us now?
6 0 ReplyThey're in my head, little precious treasures.
3 0 Reply
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.
6 0 Reply
Plz for faster typing
34 0 ReplyYeah, I’ve used
pls
myself27 0 Reply
With
fuck
https://github.com/nvbn/thefuckplease shtudown fuck
31 0 ReplyNo longer maintained. The new one: https://github.com/iffse/pay-respects
27 0 Reply
wouldyoukindly kill -9 1
27 0 Replyatlas:: $ andrewryan=1 atlas:: $ wouldyoukindly kill -9 $andrewryan
2 0 Reply
In fact, i do not recommend this.
13 0 ReplySudo recommend this
30 0 Reply*please recommend this
17 1 Replysudo: recommend: command not found
9 1 Reply
I actually like this lmao
18 0 Reply"Would you Kindly ..."
15 0 ReplyBitch would be better
17 3 ReplyBitch Please
14 0 Reply“Bitch I said”
4 0 Reply
can_you_kinda_sorta_maybe_im_not_sure
13 0 ReplyPlease shutdown -h now
8 0 ReplyThe sudo who do what-you-don't-have-permissions-to-do people.
4 0 ReplyMagic people, sudo people
3 0 Reply
It’s a longer command. I wanna get shit done. I’m aliasing commands to make them shorter, not longer. But it does seem like it’d be a little friendlier.
sudo make me a sandwich
8 2 ReplyUse
plz
and add a Makefile? :)plz make sandwich
14 0 ReplyWell done. I guess my reference was too obscure.
6 1 Reply
aka The Magic Word.
3 0 Replymore typing. if i set up an alias for it, i'd rather set up su
4 1 Replysu is already a highly valued command
17 0 Replythis is why i use that most of the times instead of sudo
2 1 Reply
hahha I love this.
4 1 ReplyI don't care what machine it is in not using pleasantries to tell it what to do until it gains sentience. Pleasantries are for people.
Thus does become an issue for me when i use a call a support line and the actual person just happens to talk like a recorded menu.
3 9 Reply