weird@sub.wetshaving.social to linuxmemes@lemmy.world · 4 个月前No bloatsub.wetshaving.socialimagemessage-square48linkfedilinkarrow-up1649
arrow-up1649imageNo bloatsub.wetshaving.socialweird@sub.wetshaving.social to linuxmemes@lemmy.world · 4 个月前message-square48linkfedilink
minus-squaregramie@lemmy.calinkfedilinkarrow-up6·4 个月前If it were on an old installation of linux, it would delete everything on the file system, from every disk attached. Modern Linux systems require an additional flag to explicitly stay that you want to nuke your system.
minus-squarebuddascrayon@lemmy.worldlinkfedilinkarrow-up4·4 个月前 Modern Linux systems require an additional flag to explicitly stay that you want to nuke your system. Are you sure?
minus-squaregramie@lemmy.calinkfedilinkarrow-up3·edit-24 个月前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·4 个月前but here they use /* as the target, so they are not telling rm to delete the root directory.
minus-squaregramie@lemmy.calinkfedilinkarrow-up1·4 个月前You are right, but I’m not sure if the intelligence was built into the command to recognize it as a root level deletion.
minus-squaremittorn@masturbated.onelinkfedilinkarrow-up2·4 个月前@buddascrayon @gramie https://forums.gentoo.org/viewtopic-p-7943540.html
If it were on an old installation of linux, it would delete everything on the file system, from every disk attached.
Modern Linux systems require an additional flag to explicitly stay that you want to nuke your system.
Are you sure?
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.
@buddascrayon @gramie
https://forums.gentoo.org/viewtopic-p-7943540.html
Whoooosh