Burn an ISO image to a USB drive on a Mac
- List the disks on your Mac
$ diskutil list - Unmount the USB drive
$ diskutil unmountDisk /dev/disk6Change the
/dev/disk6to the name of your USB drive - Burn the ISO image to the USB drive
sudo dd if=~/downloads/ubuntu-20.04.3-desktop-amd64.iso of=/dev/disk6 bs=1mChange
~/downloads/ubuntu-20.04.3-desktop-amd64.isoand/dev/disk6to your path and name of the USB drive - Eject the USB drive
$ diskutil eject /dev/disk6Change
/dev/disk6to the name of your USB drive