I am using Ubuntu 11.10 and in terminal I want to enter the following folder:
cd Milano, Torino (Jan)-Compressed
And it does not work! How should I write the command cd to enter this directory?
|
I am using Ubuntu 11.10 and in terminal I want to enter the following folder:
And it does not work! How should I write the command |
||||
|
|
|
That command is ambiguous because spaces are normally used to separate arguments. cd does not know what you want to do but you have two possibilities to solve it: Either you "mask" the spaces (and all other special characters) so that the terminal knows you mean the space as a character and not as a separator:
Or you put your folder name or path into quotes:
|
|||
|
|
Write it as
Otherwise it treats Alternatively escape a few of the special characters...
|
|||||||||||||||
|
|
A little tip tab completion :)
Another way drag and drop
|
|||||||
|
|
To open a folder containing a space surround it in quotes like |
|||||||||||
|
|
If this directory is in your home folder then type:
else give absolute path:
if there is a double quote in file name then escape that with |
|||||||
|