Wednesday 21 November 2012

How to mount usb stick in ubuntu?

How to mount usb drive in ubuntu


First of all plug the usb stick/drive to usb port in your computer

Type in the following command to list the accessible memories:

sudo fdisk -l

You will be given with the similar output:

Screen showing how to mount usb stick with use of command line interface in ubuntu

So now we know which device we want to mount

In this case it is /dev/sdb1 which is 4007MB (4GB) usb stick

Create directory where the file will be mounted

mkdir /media/usb_stick/

And mount your device in ubuntu to that directory

mount /dev/sdb1 /media/usb_stick/

And that is it!

Now you can browse the content of your usb stick just by entering this directory:

cd /media/usb_stick/

No comments:

Post a Comment