please killall
I see...
170 0 ReplyMake sure to combine it with
Disallow /harm/to/humans
5 0 Reply
Or do the opposite for..relief
Fucking mv doc doc1
Fucking shutdown
156 0 ReplyFuck will always be my alias to run sudo with the last command
28 0 ReplyShorthand that works anywhere:
sudo !!
11 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 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
please remove the French language pack
please rm -fr /*
154 0 ReplySome people just wanna see the world burn
44 0 ReplyFor people that don't get the joke: this messes up your system
25 0 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.
34 0 Reply
Now a days you have add —no-preserve root after the laggy French pack to fully remove it.
17 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.
6 0 Reply
alias go-go-gadget=sudo
$ go-go-gadget apt update
95 0 Replyalias bridge-to-engineering=sudo
11 0 Replyalias computer=sudo
8 0 Reply$ scotty-i-need-more cowbell
3 0 Reply
I love this haha
4 0 Reply
$ alias please="sudo"
$ alias stay="shutdown"
$ please stay_
70 0 ReplyOof right in the feels
20 0 ReplyUse
shutdown -h now
or-P 0
Or just use
poweroff
10 0 Reply
Nah, uh, uh. You didn’t say the magic word!
64 0 Reply63 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
I aint typing out 'please', I will compromise on
alias plz='sudo'
59 0 Replyshit, that's a radical move
31 0 Replyalias ty='exit'
15 0 Reply
alias fuck=sudo !!
51 0 ReplyI much prefer this package for my
fuck
command https://github.com/nvbn/thefuck18 0 Reply
please !!
41 0 Reply'Aurenkin' is not in the pleasers file. This incident will be reported.
40 0 Reply
also set up
insults
in sudoers for a unique experience36 0 ReplyPlz for faster typing
32 0 ReplyYeah, I’ve used
pls
myself25 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
29 0 Reply
wouldyoukindly kill -9 1
26 0 Replyalias alias='alias'
24 0 ReplyI'm scared of you
18 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
23 0 ReplyI don't ask my machine to do something. It doesn't have feelings. I keep civilités for humans.
22 0 ReplyBrrrzzzt 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
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 ReplyAh, okay.. And are these civilités in the room with us now?
5 0 ReplyThey're in my head, little precious treasures.
2 0 Reply
I might actually do this, it seems nice.
20 0 Replysuddenly makes the xkcd much more wholesome too
11 0 Reply
please apt install clang
User isn't in polite boy list. This incident will be reported.
19 0 Replyplease rm -rf /
19 0 ReplyI actually like this lmao
17 0 ReplyIn fact, i do not recommend this.
14 0 Reply"Would you Kindly ..."
13 0 Replycan_you_kinda_sorta_maybe_im_not_sure
13 0 Reply12 0 Replyplease shutdown
THIS INCIDENT WILL BE REPORTED.
11 0 ReplyIt’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
9 0 ReplyUse
plz
and add a Makefile? :)plz make sandwich
13 0 ReplyWell done. I guess my reference was too obscure.
6 0 Reply
Please shutdown -h now
8 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
The sudo who do what-you-don't-have-permissions-to-do people.
4 0 ReplyMagic people, sudo people
3 0 Reply
more typing. if i set up an alias for it, i'd rather set up su
4 0 Replysu is already a highly valued command
17 0 Replythis is why i use that most of the times instead of sudo
2 0 Reply
pls
1 0 Reply
hahha I love this.
3 0 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 0 Reply