{
	"id": "82d27fc9-d7f5-4453-a5c6-6b95b9828c57",
	"created_at": "2026-04-06T00:08:57.633092Z",
	"updated_at": "2026-04-10T13:11:58.135694Z",
	"deleted_at": null,
	"sha1_hash": "7c62e2a31944b6f7b3a1a5c000cbff15820c707e",
	"title": "List USB Devices Linux – Linux Hint",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 1241745,
	"plain_text": "List USB Devices Linux – Linux Hint\r\nBy Shahriar Shovon\r\nArchived: 2026-04-05 23:43:32 UTC\r\nIn the world of USB computer peripherals, almost everyone uses some sort of USB devices in their computer.\r\nThese days there are USB webcams, USB hard drives, USB stick also known as PenDrive etc. Almost every\r\ndevice has a USB version of it. So if you’re using Linux, listing what USB device is connected to your system\r\nmight be necessary at some point.\r\nThere are many programs and many ways to list USB devices on Linux.\r\nIn this article, I will show you how to list USB devices on Linux. I am using Ubuntu 18.04 Bionic Beaver for the\r\ndemonstration, but these commands are available on every Linux distribution. So let’s get started.\r\nListing USB Devices using lsusb Command\r\nThe widely used lsusb command can be used to list all the connected USB devices in Linux.\r\n$ lsusb\r\nAs you can see from the output of the lsusb command in the screenshot below, all the connected USB device is\r\nlisted. The Bus ID, Device ID, USB ID, and a title is displayed in the output of lsusb command.\r\nAs you can see in the marked section of the screenshot below, Realtek Semiconductor Corp. with ID\r\n0bda:57cb, this is my USB Webcam.\r\nhttps://linuxhint.com/list-usb-devices-linux/\r\nPage 1 of 8\n\nYou can’t tell that it’s a Webcam by looking at the output of lsusb command, Can you? Nope! So how do I know\r\nthis? It’s because I checked the output of the lsusb command before and after connecting the USB Webcam and\r\nonce I compared the outputs, the newly added row is the USB device I connected. Plain! But there are ways to\r\nfind out what the USB device is.\r\nYou can use the dmesg command to find out more information about the connected USB devices. The last\r\nconnected USB device is the easiest to find with dmesg command. It is more widely used for debugging purpose.\r\nYou will shortly see why.\r\nYou run dmesg command as follows:\r\n$ dmesg\r\nAs you can see in the yellow marked box in the screenshot below, these are information about the USB device I\r\nconnected last, which was my USB Webcam. You can see in one of the blue marked box, the USB device I\r\nconnected is a HD UVC WebCam and its ID is 0bda:57cb.\r\nhttps://linuxhint.com/list-usb-devices-linux/\r\nPage 2 of 8\n\nBy now you may have found out that the output of dmesg command is system log messages. Well yes, it is.\r\nYou can also search for a specific USB device by its ID in the dmesg system log.\r\nRun the following command to open the output of dmesg command with less text pager:\r\n$ dmesg | less\r\nYou should see the following window:\r\nhttps://linuxhint.com/list-usb-devices-linux/\r\nPage 3 of 8\n\nNow to search for a string, press / key on your keyboard. And you should the a / appear on the bottom of terminal\r\nwindow as marked in the screenshot below.\r\nNow type in the USB device ID. For example, earlier when I listed the connected USB devices with lsusb\r\ncommand, one of the USB device had ID 0bda:57cb\r\nhttps://linuxhint.com/list-usb-devices-linux/\r\nPage 4 of 8\n\nType in the USB Device ID and press \u003cEnter\u003e. As you can see in the marked section of the screenshot below, the\r\nsearch string is marked white.\r\nYou may press \u003cUp\u003e and \u003cDown\u003e arrow keys to navigate up and down and read through it. You should find a lot\r\nof information about that USB device as you can see in the marked section of the screenshot below.\r\nhttps://linuxhint.com/list-usb-devices-linux/\r\nPage 5 of 8\n\nListing USB devices with usb-devices Command\r\nYou can run the following command to list all the connected USB devices of your system:\r\n$ usb-devices\r\nAs you can see in the screenshot below, all the connected USB devices are listed. we can find out pretty much the\r\nsame information as before with usb-devices command.\r\nhttps://linuxhint.com/list-usb-devices-linux/\r\nPage 6 of 8\n\nListing Block USB Devices\r\nIf you want to list all the USB block storage devices, that is all the USB storage devices, then you can use the\r\nlsblk or fdisk command to do so.\r\nListing USB block storage devices with lsblk:\r\n$ lsblk\r\nAs you can see in the screenshot below, all the available block storage devices (including the USB block storage\r\ndevices) are listed.\r\nYou can get almost the same information as lsblk command with blkid command. But you have to run it as root\r\nas follows:\r\n$ sudo blkid\r\nhttps://linuxhint.com/list-usb-devices-linux/\r\nPage 7 of 8\n\nYou can also use fdisk command to list all the USB block storage devices as follows:\r\n$ sudo fdisk -l\r\nAs you can see in the screenshot below, the connected block storage devices (including the USB devices) are\r\nlisted.\r\nThat’s how you list all the USB devices on Linux. Thanks for reading this article.\r\nSource: https://linuxhint.com/list-usb-devices-linux/\r\nhttps://linuxhint.com/list-usb-devices-linux/\r\nPage 8 of 8",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://linuxhint.com/list-usb-devices-linux/"
	],
	"report_names": [
		"list-usb-devices-linux"
	],
	"threat_actors": [],
	"ts_created_at": 1775434137,
	"ts_updated_at": 1775826718,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/7c62e2a31944b6f7b3a1a5c000cbff15820c707e.pdf",
		"text": "https://archive.orkl.eu/7c62e2a31944b6f7b3a1a5c000cbff15820c707e.txt",
		"img": "https://archive.orkl.eu/7c62e2a31944b6f7b3a1a5c000cbff15820c707e.jpg"
	}
}