We all know that we have to use the -rf option of rm command carefully. What I wonder is does Linux allow executing this command: rm -rf /?
If so, why? This command could have disastrous consequences if allowed to run:
- It would delete everything including files on the hard drive and files on connected removable media devices.
- How can we remedy the situation, especially without the assistance of all the executable commands which would also be deleted?