• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / 3 Commands To Check USB Connection In Linux Terminal

3 Commands To Check USB Connection In Linux Terminal

By Sourabh / February 5, 2026 Category: How To, Ubuntu

Here is the 3 must-know Linux commands to check USB system information in Linux command line – in Linux terminal.

1.lsusb

The lsusb command is a powerful utility on Linux that provides detailed information about USB (Universal Serial Bus) devices connected to your system. It displays information about all USB buses in the system and the devices connected to them, displaying their bus and device numbers, vendor IDs, product IDs, and device descriptions

lsusb command reads information from the /dev/bus/usb directory or /proc/bus/usb interface. It uses a hardware database (/usr/share/usb.ids or /var/lib/usbutils/usb.ids) to provide human-readable names for vendors and products.

It is typically pre-installed on most Linux distributions and to use lsusb, simply open a terminal and type:

lsusb

The lsusb command supports various arguments or options, which enhances the command functionality:

  • -v: Displays detailed information about each device.
  • -t: Displays the USB device hierarchy in a tree format.
  • -s [bus]:[device]: Shows information for a specific device.

2. usb-devices

The usb-devices command displays the in-depth information about USB devices, including the bus number, device level, speed, vendor ID, product ID, and manufacturer details. This information is crucial for troubleshooting connectivity issues or hardware configuration issues related to the USB device.

To use usb-devices, simply open a terminal and type:

usb-devices

The output includes various details for each USB device.

3. fdisk

We all know that the fdisk command is primarily used for partitioning disks and to display information about all connected storage devices, including USB drives. Which means, we can use the fdisk command to list USB devices in Linux.

Using fdisk -l is a simple way to list USB devices and other storage devices connected to your Linux system. To use the command simply run:

sudo fdisk -l

Note to run the command with -l option (which is for “list”) and to run the command wih sudo (root or administrative privileges), which is always required to access disk information on the system.

Once the run the command, you will see a list of all connected storage devices, including USB drives on your system.

These commands offer a thorough method for collecting information about USB devices connected to your Linux system.

Primary Sidebar

Latest Posts

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

Delete Directory And Contents Recursively Without Prompt On Linux

Check User Login History In Ubuntu Linux Command Line

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap