Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am new to Linux. So please excuse me if my question is amateur.

I have two partitions: "Windows and Linux OS" Both are listed as Storage-Files, called under the name of "New Volume"

The external drive is mounted under /media/New Volume/.. but I am unable to "cd" into the drives' file system. I can get into the drives' files ystem with gnome, but i am unable to get in via terminal. Is this related to the Volumes name?

(New Volume) the space between "New" and "Volume"

Please help..

share|improve this question
    
It's just /media/New Volume, no ... The .. means the parent directory, which would put you back in /media. –  psusi Feb 25 '12 at 23:25
add comment

4 Answers

it's likely the space in the name.

from the command line you should use: cd /media/New\ Volume or cd "/media/New Volume"

share|improve this answer
add comment

try this:

cd /media/New\ Volume
share|improve this answer
add comment

Simply drag & drop your New Volume into Terminal and you'll see, that both previous comments are the solution to your question. Drag and drop works also with any kind of file and folder.

You can also enclose the argument with single quotes 'New Volume' or double quotes "New Volume"


Also nautilus-terminal might be of interest, since it migrates to your file browser window(s) and enables you to see the cd (change directory) path, which is automatically executed when you move to another folder.

enter image description here

share|improve this answer
add comment

If a folder or file name contains whitespaces you can do three things in terminal:

  • Use the Tab key to auto complete the name
  • Write the name in quotes cd /media/"New Volume"/
  • Escape the whitespace with an \ character cd /media/New\ Volume/
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.