Hacker News new | ask | show | jobs
by artursapek 4353 days ago
More easily, "rm -rf ~" with a premature "Enter"
1 comments

do the -rf after the directory to avoid this in future

Premature enter just results in:

[web@server /]$ rm ~

rm: cannot remove `/home/web': Is a directory