3 ms·
> Would also erase everything else on the box so you might not know for a few seconds, but then the database errors start and the lib and pid files start disapp
by jsmthrowaway 12y ago
> Would also erase everything else on the box so you might not know for a few seconds, but then the database errors start and the lib and pid files start disappearing and now your the king of a mountain of shit. It won't take till next reboot to notice.
Yes, it will, because the original post didn't include -r. So it's only deleting things that match the glob in the root directory. On many systems, that is nothing.
- eurleif 12y agoEven with -r, /*.* only matches files and directories in / that have a period in their name. So it would skip over /usr, /home, etc.
- jsmthrowaway 12y agoThat's what "match the glob" means.
- eurleif 12y agoMy point was that the lack of -r doesn't really change anything; even with -r, it would still only delete initrd.img and similar, which would take until the next reboot to notice.