weird@sub.wetshaving.social to linuxmemes@lemmy.world · 7 个月前No bloatsub.wetshaving.socialimagemessage-square47linkfedilinkarrow-up1646arrow-down157
arrow-up1589arrow-down1imageNo bloatsub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 7 个月前message-square47linkfedilink
minus-squaregramie@lemmy.calinkfedilinkarrow-up3·7 个月前rm -rf --no-preserve-root / Looks like it started appearing in various flavors of Unix and Linux around 2005.
minus-squareWhyJiffie@sh.itjust.workslinkfedilinkEnglisharrow-up2·7 个月前but here they use /* as the target, so they are not telling rm to delete the root directory.
minus-squaregramie@lemmy.calinkfedilinkarrow-up1·7 个月前You are right, but I’m not sure if the intelligence was built into the command to recognize it as a root level deletion.
rm -rf --no-preserve-root /
Looks like it started appearing in various flavors of Unix and Linux around 2005.
but here they use /* as the target, so they are not telling rm to delete the root directory.
You are right, but I’m not sure if the intelligence was built into the command to recognize it as a root level deletion.