sudo dd if=path/to/ubuntu-server-*.iso of=/dev/sdX bs=4M status=progress oflag=sync

: Use the dd command, replacing /dev/sdX with your USB drive's device name and path/to/ubuntu-server-*.iso with the path to your ISO file: