cd media no such file or directory opensuse

hi
i’m beginner i use opensuse leap 15 and i would know how to fix this **cd media no such file or directory

**thanks

On Wed 19 Dec 2018 03:06:03 PM CST, bigsteph wrote:

hi
i’m beginner i use opensuse leap 15 and i would know how to fix this *cd
media no such file or directory

*thanks

Hi and welcome to the Forum :slight_smile:
The cd command is all relative to where you are in the system directory
tree and where a directory called ‘media’ is…

Always check where you are via the pwd command (present working
directory) eg;


pwd
/home/username

Generally the name media is used for external devices and their
location, which by default these days starts
with /run/media/username/some_device, for example here is a USB storage
device plugged into a USB port and using the command lsblk (list block
device) to see where it is mounted;


lsblk
.....
sdc      8:32   1   3.7G  0 disk
└─sdc1   8:33   1   3.7G  0 part /run/media/username/XXXX-YYYY

So if I wanted to change to that directory it would be;


cd /run/media/username/XXXX-YYYY


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
SLES 15 | GNOME Shell 3.26.2 | 4.12.14-25.25-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

If you see this when doing updates or other repository based things you have the CD repository (ie the install disk) repo active in your repository list.

Of course more info on when you see this or what you are doing when the menage appears would help pinpoint the exact problem.