4 ms·
you can rmdir $PWD no problem. as long as there are no files in it. i guess it catches almost all cases though. come to think of it, when would you ever want t
by techslave 7y ago
you can rmdir $PWD no problem. as long as there are no files in it. i guess it catches almost all cases though.
come to think of it, when would you ever want to rm -rf/? even in a chroot it doesn’t seem like a thing you’d want to do.
- thenewwazoo 7y agoWhen working in chroot jails on embedded distributions, I have needed to run `rm -rf /`. It's admittedly really edge-casey, but it's happened.