Answer the question
In order to leave comments, you need to log in
How to navigate to hard drive partition in Linux terminal (Google didn't help)?
I'm starting to use the terminal in ubuntu (I'm a teapot in linux) and the first problem is I can't navigate to the hard drive partition.
I climbed through the folders, found the following: that the hard drive is located in the media section in the user folder and then in the protected folder DEF26716F266F1E7 (I would like to know how to rename it).
Tried to go through the terminal trace. command: cd / media / user , after which he entered pwd and / media was displayed. I googled, but didn't find an answer.
Answer the question
In order to leave comments, you need to log in
1. there can't be a space in the shown path, so the transition command should look like this:
cd /media/
$ {USER}
/
DEF26716F266F1E7 manual section, eg. from root, execute mount /dev/sdaN /media/user_name/DEF26716F266F1E7 Where /dev/sdaN is partition N on the first disk, it may also not be sda but sd{b/c/d}, etc. To see this in person, run ls -l /dev/ | grep sd look at the output, plug the flash drive into the PC and repeat the command
3. Read literature about mount and fstab
UPD:
${USER} is a variable that stores the name of the current user
Tried to go through the terminal trace. command: cd / media / user , after which he entered pwd and / media was displayed.
and who told you that the space should not be escaped?
correct command looks like thiscd /media/$USER
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question