One-Liners
Full System Updates on Ubuntu
apt update && apt dist-upgrade -y && apt autoremove --purge -y && apt autoclean && snap refresh
UseWrite badblocks
random data to both test & zero a disk
Note: This can take a few days
badblocksdd -wsvif=/dev/urandom of=/dev/sd bs=4096 status=progress