News for hackers. Stuff that matters.
Re:Recovering deleted files using only grep by aquadrop on Wednesday June 25, 2014 @08:25PM (#7947520)
I think 'rm -rf /' shouldn't work and there should be special command instead of 'rm -rf /', something like rmrfhell, which would ask you three times if you sure and will tell you about pain and tears of other people who ran it.
Re:Recovering deleted files using only grep by LukeShu on Wednesday June 25, 2014 @10:07PM (#7947810)
In the GNU version, that mostly is the case. You need to specify `--no-preserve-root` for it to work, which is obscure enough.
Re:Recovering deleted files using only grep by blueskin_ on Thursday June 26, 2014 @11:12AM (#7950043)
Most versions have --preserve-root (fail if the target is /) on by default, so you have to use --no-preserve-root , although rm -rf /* will still work.