
Now let’s find out device names using some different command-line tools as shown: Find Out Plugged USB Device Name Using df Command

Some of the files you will find in this directory include /dev/sda or /dev/hda which represents your first master drive, each partition will be represented by a number such as /dev/sda1 or /dev/hda1 for the first partition and so on. Linux identifies devices using special device files stored in /dev directory. However, this is not the case with a server where you have to manually mount a device and specify its mount point. Once you attach a device to your system such as a USB, especially on a desktop, it is automatically mounted to a given directory, normally under / media/username/device-label and you can then access the files in it from that directory. Suggested Read: 3 Ways to Delete All Files in a Directory Using USB drives for file transfer is so common today, and for those (new Linux users) who prefer to use the command line, learning the different ways to identify a USB device name is very important, when you need to format it.

It may be your computer’s hard disk, an external hard drive or removable media such USB drive or SD Memory card.

As a newbie, one of the many things you should master in Linux is identification of devices attached to your system.
