@hlyg2023
Maybe you could try this :
Run "lsblk" first to identify the USB drive, 
then replace `/dev/sdX` with its actual device name in the command. 

dev=/dev/sdX; [ "$(lsblk -dnro TRAN "$dev")" = usb ] && read -r -p "Write 
debian-live.iso to $dev? Type yes to confirm: " rep && [ "$rep" = yes ] && sudo 
dd if=debian-live.iso of="$dev" bs=16M status=progress oflag=sync

If "TRAN" does not indicate "usb", or if you don’t type "yes", 
"dd ..." won’t run.

"dd" overwrites the contents of the destination.

-------
That would certainly make CE easier to learn for Chinese speakers!------

Reply via email to