Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Feb 202009

Mount a USB drive in Ubuntu using command


Ubuntu Desktop will auto discover the USB drive when you connect to the computer. However, if you are using server with only access to the shell, you can still mount it manually.

1. Find out the correct device using the fdisk command. Pay attention to the disk space so you can recognize the correct device easily, e.g. /dev/sdb1

# sudo fdisk -l

2. Create a mount folder

# sudo mkdir /mnt/usb1

3. Finally, mount it

# sudo mount /dev/sdb1 /mnt/usb1

Now you can put files into this folder (/mnt/usb1) and it will be saved in your USB drive.

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>