Re:They're deleting my channel, but they don't know why? [vi...
by fiddlerwoaroof on Wednesday September 23, 2020 @11:11PM
(#24574886)
Another trick is to run
touch —- -i
In important directories. Then rm -rf * expands to rm -rf .... -i ... and you get the “are you sure” prompt.
Re:They're deleting my channel, but they don't know why? [vi...
by thaumasiotes on Wednesday September 23, 2020 @11:44PM
(#24575026)
This strategy will fail pretty badly if you're on someone else's computer using Windows or DOS, where 'del' is the delete command.
Re:They're deleting my channel, but they don't know why? [vi...
by happymellon on Thursday September 24, 2020 @02:02AM
(#24575713)
Does `del -rf /` do a lot on Windows?
Re:They're deleting my channel, but they don't know why? [vi...
by thaumasiotes on Thursday September 24, 2020 @08:27AM
(#24577915)
I doubt it, but `del *` should do the same thing on both systems.
Then when you are on another computer or at someone else's shell you get:
Instead of having a bunch of files silently deleted.