ElCanut@jlai.lu to linuxmemes@lemmy.world · 9 months agoOh no ...jlai.luimagemessage-square339fedilinkarrow-up11.78Karrow-down1112
arrow-up11.66Karrow-down1imageOh no ...jlai.luElCanut@jlai.lu to linuxmemes@lemmy.world · 9 months agomessage-square339fedilink
minus-squarenogrub@lemmy.worldlinkfedilinkarrow-up4·edit-29 months agonever execute “sudo rm -r / --no-perserve-root” because you whole sytem will be gone edit i forgot the directory
minus-squareDamage@feddit.itlinkfedilinkarrow-up4·edit-29 months agothe -delete option in find goes AFTER the expression. find -delete [whatever] will delete EVERYTHING in the current directory and below, like rm -rf *
minus-squareFaresh@lemmy.mllinkfedilinkEnglisharrow-up3·9 months agoHuh. I wonder if GNU find should be modified, so that -delete only works when explicitly given a directory.
minus-squareKühe sind toll@feddit.delinkfedilinkarrow-up1·edit-29 months agoThis shouldnt do anything since you didn’t gave it a directory to start with.
never execute “sudo rm -r / --no-perserve-root” because you whole sytem will be gone edit i forgot the directory
the
-delete
option infind
goes AFTER the expression.find -delete [whatever]
will delete EVERYTHING in the current directory and below, likerm -rf *
Huh. I wonder if GNU find should be modified, so that
-delete
only works when explicitly given a directory.This shouldnt do anything since you didn’t gave it a directory to start with.
oh yeah i forgot a /