1 |
> I might add, on a older rig I tried that command once. I ran rm -rfv /* |
2 |
> and it didn't erase everything like I thought it would. I figured the |
3 |
> command would be loaded in ram and would run until the end of the / |
4 |
> structure. It didn't. I can't recall how far it got now but I think it |
5 |
> was in the /proc directory. I figure it deleted the process and sort of |
6 |
> forgot to finish. It's been a while since I did that tho. Details are |
7 |
> fuzzy. |
8 |
|
9 |
# rm -rfv / |
10 |
rm: it is dangerous to operate recursively on ‘/’ |
11 |
rm: use --no-preserve-root to override this failsafe |
12 |
|
13 |
# rm -rfv --no-preserve-root / |
14 |
** deletes lots of stuff** |
15 |
** cannot delete in /proc ** |
16 |
** cannot delete in /sys ** |
17 |
** deletes more stuff ** |
18 |
** finshed with status 0 ** |
19 |
|
20 |
System broken :-) Don't worry, it was only a virtual machine. |