1.

Solve : How to change directory having 2 words??

Answer»

I use Mac. I want to change directory to a directory called "Application Support". Each time I use the "cd" command it says "no such file or directory". In fact, any directory with 2 names separated by a SPACE will not open. What is the correct command?
Thanksenclose the directory NAME in quotes , ie

cd "Im a newbie" make sure space after the "cd" command.

Tip: If yuou start to type a command in, linux will help you find the command if you hit the tab key befor you finish typing...Thanks for the help. I use Unix and the tab doesn't seem to work as it does in Linux.i believe you would type the FOLLOWING
cd /firstword \secondword
or
cd /firstword\secondword
Neither of the above. The backslash ESCAPES the character that comes after, so it would be cd firstword\ secondword. cd "Application Support" should work. but since you said it doesn't

another way is to use wildcards
eg

cd Application*Support

or if ONE space between names,

cd Application?Support



Discussion

No Comment Found