"Cd" into Directory Containg Space in Name [Duplicate]
So I Have Been Using Ubuntu for a Few Months Now, and Have Come Across a Very Noob Terminal Question. I Want to Go from Home -> Documents -> My Programs I Am...
So I have been using Ubuntu for a few months now, and have come across a very noob terminal question.
I want to go from home -> Documents -> My Programs
I am able to get into my documents folder by doing
cd ./Documents
But when I want to go into "My Programs", I am unable to do so because of the space between "My" and "Programs". Is there a different syntax I must use to access this folder via terminal?
You can quote the whole directory name or escape the space in between the words.
In a nutshell, do any one of the following:
cd 'My Programs'
cd "My Programs"
cd My\ Programs