alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoLinux Best Practiceslemmy.worldimagemessage-square25fedilinkarrow-up127cross-posted to: [email protected]
arrow-up127imageLinux Best Practiceslemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square25fedilinkcross-posted to: [email protected]
minus-squarekoper@feddit.nllinkfedilinkarrow-up1·edit-21 year 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.