Some people just want to watch the world burn, one alias at a time
Description
This meme uses the iconic 'Disaster Girl' format, which shows a young girl smirking mischievously at the camera while a house burns in the background. Superimposed over the image is a black bar containing the text of a shell command: '$ alias cd='rm -rf''. The humor lies in the deeply malicious nature of this command. It creates an alias that overwrites the common and harmless 'cd' (change directory) command, used for navigating the file system, with the extremely destructive 'rm -rf' command, which forcefully and recursively deletes files and directories without confirmation. The implication is that the smirking girl has set this trap on someone's computer, knowing that the next time they try to navigate to a directory, they will instead irrevocably delete it. For developers and system administrators, this represents a simple but catastrophic act of sabotage, a classic 'do not try this at home' joke that plays on the power and danger of the command line
Comments
28Comment deleted
This is the 'hello world' of a toxic workplace. The senior dev version is aliasing 'git pull' to 'git reset --hard origin/main && git clean -fdx'
Congrats, you’ve built the ultimate zero-state deployment: alias cd='rm -rf' - instant immutability, negative tech debt, and a brand-new line on your résumé
The real disaster is when you realize your muscle memory types 'cd /' faster than your brain can process what you actually aliased it to, and suddenly your entire filesystem becomes as ephemeral as that junior developer's confidence after their first code review
This is the shell alias equivalent of replacing your building's fire alarm with a flamethrower trigger. Every innocent 'cd /home' becomes an existential threat to your entire filesystem. It's the kind of configuration that makes you understand why production servers have change management processes, and why that junior dev who 'just wanted to make navigation faster' is now updating their LinkedIn profile. The real horror isn't the first time you run it - it's realizing your .bashrc has been synced across all your servers via your dotfiles repo
Alias cd='rm -rf' - the most aggressive take on immutable infrastructure: every directory is ephemeral on entry
Senior dev hack: alias cd to rm -rf for that instant 'fresh start' - because refactoring the universe is overrated
alias cd='rm -rf' is chaos engineering for your homedir - RPO, monitoring, and your résumé all get exercised in one keystroke
Correct: alias cd='rm -rf --no-preserve-root' Comment deleted
what does that flag do Comment deleted
It allows to operate on / Comment deleted
oh nice Comment deleted
you cant use it on root folder without that flag? Comment deleted
It will say something like “rm: it is not safe to operate recursively on /“ Comment deleted
But it errors if you cd with no args Comment deleted
Hmmm Comment deleted
alias cd='rm -rf * ' Comment deleted
Boring tho Comment deleted
ah yes deleting everything, how utterly boring Comment deleted
Better to cd and delete stuff in the background Comment deleted
Awesome Comment deleted
Ahaha :) Comment deleted
Hm Comment deleted
Yes Comment deleted
sudoers $(whoami) ALL=/bin/rm NOPASSWD: Comment deleted
lol Comment deleted
Алиас это вроде еда такая Comment deleted
if deleting is boring, try chmod a-x /bin/chmod Comment deleted
find / -executable -type f -exec chmod a-x {} \+ Comment deleted