[SOLVED] can't access files in usb drive in terminal
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am a pretty much of a novice with Ubuntu, but slowly learning as I go along. I am switching from WIN 7. I want to use the 'convert' utility to add captions to photos. These photos are on a USB HDD. I cannot seem to access these files in terminal. (GUI is no problem but the convert program must run in Terminal). When I cd to media and do an ls, it shows all of my USB HDD in all CAPS and the color is dark blue. When I try to cd to the drive itself it returns 'No such file or directory'. I have checked and the drive is mounted according to the properties page in the gui display. What am I doing wrong. I have checked all of the threads but have not found an answer. Any help will be greatly appreciated. I have searced the web but have not come up with an answer.
Might be entering the 'cd' command incorrectly but we don't know what command you used so...?
Run an ls -l on the /media directory which shows permissions, owner:group.
I am a pretty much of a novice with Ubuntu, but slowly learning as I go along. I am switching from WIN 7.
coming from Win7, almost anything else must be a relief. ;-)
Quote:
Originally Posted by sequimbob
When I cd to media and do an ls, it shows all of my USB HDD in all CAPS and the color is dark blue. When I try to cd to the drive itself it returns 'No such file or directory'.
Don't mind the colors for the moment; it's a convenience of ls when used in a color-enabled terminal. The colors are used as an additional means for visualizing file types and access rights. But back to the "all CAPS" part: Did you enter the directory name in all caps when issuing the 'cd' command? Unlike Windows, Linux wants to have it *exactly*. So if there's a media listed as 3A91-04E7, you can't address it as 3a91-04e7. This is a typical tripwire for people being used to Windows.
By the way, there's a typing aid: Type the first two or three characters of the file or directory name, and hit the TAB key. The name will automatically be extended if it's distinct by what you typed.
Yancik: I don't know why it would not work before but it now is working. I must have mistyped a cmd.
Doc CPU: The drives are named with upper case. I cannot change that for some reason. WIN 7 is where they were name and WIN 7 will not let me change the names to lower case. Any how, as I said, it is now working. Don't know what was wrong. Thanks for your answers. I will close this thread out.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.