create ubuntu bootable usb in ubuntu code example
Example: 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