Skip to main content

One-Liners

Full System Updates on Ubuntu
apt update && apt dist-upgrade -y && apt autoremove --purge -y && apt autoclean && snap refresh
Use badblocks to both test & zero a disk

Note: This can take a few days

badblocks -wsv /dev/sd