Mount a USB device, e.g. a USB stick or a hard drive
You might need to be sudo
.
Create a point to mount (connect) your device, open the application Terminal and type:
$ mkdir /media/drive
Then run:
$ lsblk
Spot the name of your device e.g. /dev/sdbX
where X
is a number.
You can usually recognize the device you’re looking for by its size.
Now mount (connect) the device on the point you created earlier:
$ mount /dev/sdX /media/drive
If your computer tells you you don’t have the permission to do that, run:
$ sudo mount /dev/sdX /media/drive
and then type your password.
To check that the device is mounted, run:
$ ls /media/drive
You should see the name of files or folders your device carry.
personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki mount