I always use this command as $rm -fr and read it as remove, for real
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
I do write it as rm -rf
, but then my brain always continues singing The Lion Sleeps Tonight...
singing The Lion Sleeps Tonight...
"reeHEEEEEEEEEEEEEE--EE--Eaally ya-sure ya-wan-nadothaaat?"
(rm -rf, rm -rf, rm -rf)
it's for the French locale
Another one of this kind is rm -rf node_modules && npm install
Hey, sometimes you need to hose out the cruft.
Why yes, I do maintain a legacy application that still stores user files in Program Files in blatent violation of 15 years of Windows best practices and continues to be done contrary to my repeated advice, why do you ask?
Why not git clean -dxf
?
I feel dumb: Why git rm -rf
and not rm -rf
? O.o
git rm -rf
is only usable within the scope of the git repository and removes files in the staging area and working directory but doesnt affect untracked files or .git. rm -rf
affects everything. For this case rm -rf
probably would be the better option
edit: did a quick edit on the meme to change it to rm -rf
since it makes more sense
rm - rf
is the only version that makes sense, since the only reason to delete and re-clone is to recover from an unexpected .git/
state, and git rm
won't remove that.
Thanks
I guess that's probably easier than learning how to wipe your ass.
ew french language pack gross