Identify the device file name:
sudo fdisk /dev/sd* -l
Declare variables:
ISO_FILE=/home/janux/Downloads/debian-live-9.6.0-amd64-gnome.iso
GENERAL_STICK_PARTION=/dev/sdb
Check to use the right USB target:
$ sudo fdisk ${GENERAL_STICK_PARTION} -l
Disk /dev/sdb: 7.4 GiB, 7927234560 bytes, 15482880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 15482879 15480832 7.4G 7 HPFS/NTFS/exFAT
Trigger the "delete disk" tool:
sudo dd if=$ISO_FILE of=$GENERAL_STICK_PARTION