glassyoghurtsipper@lemmy.world to linuxmemes@lemmy.world · 11 months agoThere be 🐇🐰lemmy.worldimagemessage-square133fedilinkarrow-up11.67Karrow-down133file-text
arrow-up11.63Karrow-down1imageThere be 🐇🐰lemmy.worldglassyoghurtsipper@lemmy.world to linuxmemes@lemmy.world · 11 months agomessage-square133fedilinkfile-text
minus-squareBlueKey@kbin.sociallinkfedilinkarrow-up24·11 months agodon’t listen to people who tell you to rm -rf --no-preserve-root /
minus-squareBlueKey@kbin.sociallinkfedilinkarrow-up4·11 months agoand one more thing: always look up what commands will do. So you can prevent bad behaviour and learn their options to use them later on your own. Options for help: --help man your favourite search engine
minus-squarerickywithanm@aussie.zonelinkfedilinkarrow-up1·11 months agoAnd what exactly does that command do?
minus-squareBlueKey@kbin.sociallinkfedilinkarrow-up6·11 months agoDeletes all the files in the root-dir recursively (needs sudo). Without sudo all user-accessible files will be removed. This will also affect all mounted drives (like USB-Drives, …) and on some motherbords can also corrupt the UEFI.
minus-squareQvest@lemmy.worldlinkfedilinkEnglisharrow-up1·11 months agoIf the UEFI is corrupted is there a way to even boot a Live Environment?
minus-squareBlueKey@kbin.sociallinkfedilinkarrow-up2·11 months agoIf you run a faulty UEFI-implementation then rm can turn you PC into a decorative pice of PCB. See this answer.
don’t listen to people who tell you to
rm -rf --no-preserve-root /
and one more thing: always look up what commands will do. So you can prevent bad behaviour and learn their options to use them later on your own.
Options for help:
--help
man
And what exactly does that command do?
Deletes all the files in the root-dir recursively (needs
sudo
).Without sudo all user-accessible files will be removed.
This will also affect all mounted drives (like USB-Drives, …) and on some motherbords can also corrupt the UEFI.
If the UEFI is corrupted is there a way to even boot a Live Environment?
If you run a faulty UEFI-implementation then
rm
can turn you PC into a decorative pice of PCB.See this answer.