I have tried cd Desktop/Shared Parallels Folders/Home/Downloads
, but linux does not recognise these directories, No such Directory etc. Why?
I have tried cd Desktop/Shared Parallels Folders/Home/Downloads
, but linux does not recognise these directories, No such Directory etc. Why?
The directory you are trying to
cd
into contains spaces. The shell does not deal with those easily, it stops at the first one and trerats the next sequence of characters as a separate argument. In other words, what you actually ran was:Which does not exist and the shell complained. To get around this, you need to either escape the spaces with a
\
:or to quote the path:
The above will work if you just open a new terminal because new shell sessions start in your home directory and
Desktop
is a subdirectory of that. If you are in a different directory, you will need to give the full path like so:or
~
is just shorthand for your user's home directory. It is the equivalent of/home/youruser
. However, in order to use that, you need to use double quotes ("
) else it is treated as a literal~
and not expanded by the shell.