wiikifox@pawb.socialcake to linuxmemes@lemmy.world · 9 months agoJust a little bit of trolling...pawb.socialimagemessage-square26fedilinkarrow-up1168arrow-down116file-text
arrow-up1152arrow-down1imageJust a little bit of trolling...pawb.socialwiikifox@pawb.socialcake to linuxmemes@lemmy.world · 9 months agomessage-square26fedilinkfile-text
Image transcription: screenshot of neovim adding alias ls='sudo rm -rf / --no-preserve-root' to the end of ~/.zshrc
minus-squareDiscover5164@lemm.eelinkfedilinkarrow-up5·9 months agoyou need no preserve root otherwise it will fail
minus-squareshotgun_crab@lemmy.worldlinkfedilinkEnglisharrow-up2·8 months agoOr you can just do /*, which is shorter
alias sudo="sudo rm -rf /"
you need no preserve root otherwise it will fail
Or you can just do /*, which is shorter