How to mount a USB key

With the most recent distributions of Linux, and their GUI environment, mounting a USB key is automatically done when inserting the key. Yet, sometimes, it is useful to mount it yourself (for instance, when running Linux in level 3).

Once the key is inserted, the generic command is

sudo mount /media/sda1 /media/your_usb_directory

where the /media/your_usb_directory is the directory where the usb will be mounted. it must exists. And /media/sda1 is the USB device. It may be different on different systems. The generic name is sdxx (e.g. sda1, sdb2, sdc2,…).

Finally, use the umount command once done before removing the key:

sudo umount /media/sda1
Please follow and like us:
This entry was posted in Linux and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published.