alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agoLinux Best Practiceslemmy.worldimagemessage-square93fedilinkarrow-up11.36Karrow-down188
arrow-up11.27Karrow-down1imageLinux Best Practiceslemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 2 years agomessage-square93fedilink
minus-squarekoper@feddit.nllinkfedilinkarrow-up3·edit-22 years agoIt’s slightly different. Your shell will see the /* and replace it with all the directories under /, e.g. /bin /dev /etc /home etc. So the actual command that runs is rm -rf /bin /dev /etc /home etc.
It’s slightly different. Your shell will see the
/*
and replace it with all the directories under /, e.g./bin /dev /etc /home
etc. So the actual command that runs isrm -rf /bin /dev /etc /home
etc.