• koper@feddit.nl
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    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 is rm -rf /bin /dev /etc /home etc.