To get a serial number we can use this command: udevadm info -a -n /dev/ttyUSB0 | grep '{serial}' | head -n1 udevadm info -a -n /dev/disk/by-id/ata-OCZ-AGILITY3_OCZ-ABF89Y0W7J4E333X After this we get
To get a serial number we can use this command: udevadm info -a -n /dev/ttyUSB0 | grep '{serial}' | head -n1 udevadm info -a -n /dev/disk/by-id/ata-OCZ-AGILITY3_OCZ-ABF89Y0W7J4E333X After this we get