Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $usblist=(lsusb)
- #put the list into a array for each line.
- #use the array to give the user a selection list usinging whiptail.
- #from that line strip out the device id and vender id from the selected line.
- Bus 001 Device 004: ID 0665:5161 Cypress Semiconductor USB to Serial
Add Comment
Please, Sign In to add comment