Format a Linux Disk as Ext4 from the Command Line

Format a Linux Disk as Ext4 from the Command Line

There are plenty of guides for how to do this online. But I end up spending 20 minutes searching every time I need to remind myself how to do it, so I’m putting it here to save me that hassle.

[…].