create a bootable usb in ubuntu code example
Example 1: ubuntu create bootable usb from iso command line
$ sudo umount /dev/sdb1
$ sudo dd bs=4M if=/home/sana/Downloads/ubuntu-18.04.2-live-server-amd64.iso of=/dev/sdb1 status=progress oflag=sync
Example 2: create windows 10 bootable usb in ubuntu
sudo dd bs=4M if=/home/praveen/Downloads/Win10_21H1_EnglishInternational_x32.iso of=/dev/sda1 status=progress oflag=sync