TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Suicide Linux (2011)

71 pointsby josephmxabout 10 years ago

12 comments

hellbannerabout 10 years ago
"When there is error, we blame humans. But it is not humans who are stupid, it's the machines. We should design machines to minimize error. Humans are bad at precision so why demand it?" -- Don Norman, Design of Everyday Things
评论 #9401740 未加载
psgbgabout 10 years ago
I dishonoured my hacker mentors.<p>I must commit rm -rf &#x2F;
评论 #9401395 未加载
zxcvcxzabout 10 years ago
Immortal Linux would probably get more installs - a package that prevents common malicious commands from working without first warning you of the consequences.
评论 #9401207 未加载
评论 #9402129 未加载
ameliusabout 10 years ago
I&#x27;m personally waiting eagerly for filesystems that let me roll back my mistakes.
评论 #9401265 未加载
评论 #9401283 未加载
评论 #9401318 未加载
评论 #9402508 未加载
评论 #9401306 未加载
评论 #9401365 未加载
XorNotabout 10 years ago
Lately I&#x27;ve been advising people to use find -delete rather them rm.<p>Ever tried to clear the current directory with rm? It&#x27;s actually amazingly tricky and dangerous to wipe out dot files without moving up directories. Whereas find has the benefit of saying exactly what it&#x27;ll do before it does it (and being a bit faster IMO).<p>The thing I&#x27;m really missing in find is a native -chown and -chmod flag now.
评论 #9402095 未加载
zimbatmabout 10 years ago
Reversely, I wonder why `rm` hasn&#x27;t been patched to abort when the `&#x2F;` path is passed as an argument (with maybe a --no-really-i-mean-it argument for the really rare cases where that&#x27;s what you want)<p>EDIT: not sure why this is being down-voted. It&#x27;s just an idea, albeit possibly a bad one.
评论 #9401218 未加载
评论 #9401328 未加载
评论 #9401258 未加载
评论 #9401223 未加载
ChuckMcMabout 10 years ago
It is interesting the number of things that sharpen when there is risk on the line. We&#x27;ve already discussed how narrow streets without signs are safer for pedestrians, but its true for a lot of things. The trick is to make it really painful but not fatal.
评论 #9402322 未加载
callesggabout 10 years ago
A common issue, is stuff like:<p>cd $TempDIR<p>wget <a href="http:&#x2F;&#x2F;example.com" rel="nofollow">http:&#x2F;&#x2F;example.com</a> #Do stuf in temp dir<p>rm -R . #Clean Tempdit<p>if $TempDIR is not set, it will delete your home directory.<p>If $TempDIR does not exist or the cd somehow fails it will delete your current folder.
评论 #9402503 未加载
评论 #9402286 未加载
maaaatsabout 10 years ago
We have used this as a ritual&#x2F;test for new members in a student organization. Given a task, try to achieve it, if you fail, empty your drink.
gitaarikabout 10 years ago
I wonder what the usecases are for this package<p>edit: maybe install it as a prank on your colleagues VMs
colundabout 10 years ago
I heard somewhere that it should be rm -rf &#x2F;&lt;star&gt;
评论 #9401417 未加载
agorabinaryabout 10 years ago
rm -rf &#x2F;reposts ?
评论 #9401580 未加载