To cd to a directory with spaces in the name, in Bash, you need to add a backslash (
\) before the space. In other words, you need to escape the space.
So if you’re in the Library directory and need to go to a directory called Application Support, this is how you cd into it:
cd ~/Library/Application\ Support