How To Mount USB Drive In Linux

Mount USB drive in linux using terminal; Through this tutorial, we will learn how to mount USB drive in linux using command line or terminal.

How To Mount USB Drive In Linux Using Command Line

Use the following steps to mount usb drive in linux using command line or terminal:

  • Step 1 – Plugin USB Drive into PC
  • Step 2 – Detect the USB Drive on PC
  • Step 3 – Create a Mount Point
  • Step 4 – Mount USB Drive
  • Step 5 – Accessing USB Data

Step 1 – Plugin USB Drive into PC

First of all, we need to plug in USB drive to Linux-based personal computer (PC), in which we want to access the USB drive.

Step 2 – Detect the USB Drive on PC

After plugging in USB to the computer, the system will add a new block device into the /dev/ directory. To check that, use the following command. But first, open Command Terminal and then execute the following command into it:

sudo fdisk -l

Step 3 – Create a Mount Point

Now, execute the following command on command line to create mount point:

mkdir /media/usb-drive

Step 4 – Mount USB Drive

Then execute the following command on command line to mount usb drive in linux system:

mount /dev/sdc1 /media/usb-drive/

Step 5 – Accessing USB Data

Finally, access our USB data simply by navigating to our previously created mount point:

cd /media/usb-drive

Conclusion

Through this tutorial, we have learned how to mount a USB drive in your Linux system using command line or terminal.

Recommended Linux Tutorials

AuthorAdmin

My name is Devendra Dode. I am a full-stack developer, entrepreneur, and owner of Tutsmake.com. I like writing tutorials and tips that can help other developers. I share tutorials of PHP, Python, Javascript, JQuery, Laravel, Livewire, Codeigniter, Node JS, Express JS, Vue JS, Angular JS, React Js, MySQL, MongoDB, REST APIs, Windows, Xampp, Linux, Ubuntu, Amazon AWS, Composer, SEO, WordPress, SSL and Bootstrap from a starting stage. As well as demo example.

Leave a Reply

Your email address will not be published. Required fields are marked *