glassyoghurtsipper@lemmy.world to linuxmemes@lemmy.world · 2 years agoThere be 🐇🐰lemmy.worldimagemessage-square129fedilinkarrow-up11.93Karrow-down133file-text
arrow-up11.9Karrow-down1imageThere be 🐇🐰lemmy.worldglassyoghurtsipper@lemmy.world to linuxmemes@lemmy.world · 2 years agomessage-square129fedilinkfile-text
minus-squareBlueKey@kbin.sociallinkfedilinkarrow-up25·2 years agodon’t listen to people who tell you to rm -rf --no-preserve-root /
minus-squareBlueKey@kbin.sociallinkfedilinkarrow-up6·2 years 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-squarerussjr08@outpost.zeuslink.netlinkfedilinkEnglisharrow-up1·2 years agoI definitely recommend getting used to --help and man, but after you’ve become comfortable with those I find that this utility is also fantastic. Example of the output of tldr git checkout:
minus-squarerickywithanm@aussie.zonelinkfedilinkarrow-up1·2 years agoAnd what exactly does that command do?
minus-squareBlueKey@kbin.sociallinkfedilinkarrow-up6·2 years 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·2 years agoIf the UEFI is corrupted is there a way to even boot a Live Environment?
minus-squareBlueKey@kbin.sociallinkfedilinkarrow-up3·2 years 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
I definitely recommend getting used to
--help
andman
, but after you’ve become comfortable with those I find that this utility is also fantastic.Example of the output of
tldr git checkout
: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.