Ubuntu 18.04 – shell commands mount and umount

If you want to access a usb storage device, or any other storage, first you need to mount this device to your filesystem.

You need to know the name of the device. If you do not know how to do that, read this post.

Then you need to create a mount point.

sudo mkdir /media/usbNew
How to mount and unmount a storage device, <span>Ubuntu 18.04 – shell commands mount and umount</span>, KandZ

Now you can mount the device to the mount point you created before

sudo mount /dev/sda1 /media/usbNew
How to mount and unmount a storage device, <span>Ubuntu 18.04 – shell commands mount and umount</span>, KandZ

More information about mount here.

Now if you want to unmount this device, you must use umount command

sudo umount /media/usbNew
How to mount and unmount a storage device, <span>Ubuntu 18.04 – shell commands mount and umount</span>, KandZ

THE END!!!

79370cookie-checkUbuntu 18.04 – shell commands mount and umountUbuntu 18.04 – shell commands mount and umount

Related posts

2 Thoughts to “Ubuntu 18.04 – shell commands mount and umount

  1. […] Ubuntu 18.04 – shell commands mount and umount […]

Comments are closed.