Hi everyone, welcome back to this awesome blog, in this post i will show you how to go/how to open external storage from the terminal on lubuntu. This is one of those beginner's guide, you can skip if you already know.
These days, we often plug external storage into our computer/laptop, such as flash drive/usb stick, external hard drive, etc. On lubuntu, as you plug the device, you can open it from PCManFM (file manager on lubuntu).
But what if you want to access it from the terminal? you need to know where this external storage is located. From what is see it is mounted on /media/[username]/, since my username is kernelpanic, the path is /media/kernelpanic/.
So in my case, if i want to access my external storage/hard drive, i type this command on terminal:
cd /media/[your_username]/
cd /media/kernelpanic/
And then type ls, to see the content
ls -l
My external hard drive is called "Elements", so i go inside it by typing:
cd Elements
I have another tips for you, everytime you plug external storage, lubuntu will automatically mount it for you, if you are not sure where it's located, you can run the df command, like this:
df
sample output:
kernelpanic@lubuntulaptop:~$ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda6 48270672 29832208 15963408 66% /
none 4 0 4 0% /sys/fs/cgroup
udev 2020152 4 2020148 1% /dev
tmpfs 405936 1388 404548 1% /run
none 5120 0 5120 0% /run/lock
none 2029676 0 2029676 0% /run/shm
none 102400 16 102384 1% /run/user
/dev/sr0 716836 716836 0 100% /media/kernelpanic/This-time-2morow
/dev/sdb1 976758780 905951100 70807680 93% /media/kernelpanic/Elements
The df command will show you the location of mounted device, if your device is not listed there, there is a chance that it is not mounted properly, i will talk about mount and unmount device on later post.
No comments:
Post a Comment