CLI Knowledge Base

Copy latest iso to USB key

fdisk -l |grep sectors$ | awk '{ print $2, $3, $4 }' && iso=$(ls -1t |head -n 1) && echo $iso
dd if=${iso} | pv | dd of=/dev/sdc
Or
dd if=${iso} of=/dev/sdc bs=4M status=progress && sync