In a bash shell on a MacOS machine, I can see by typing
ls that there is a director
$ ls Accounts FontCollections PreferencePanes Application Scripts Fonts Preferences Application Support GameKit Printers Assistant Google PubSub Assistants Group Containers Safari Audio IdentityServices SafariSafeBrowsing Caches Input Methods Saved Application State Calendars Internet Plug-Ins Screen Savers CallServices Keyboard Services ColorPickers Keyboard Layouts Sharing Colors KeyboardServices Sounds Compositions Keychains Spelling Containers LanguageModeling Suggestions Cookies LaunchAgents SyncedPreferences CoreFollowUp Library VirtualBox Developer Logs Voices Dictionaries Mail WebKit F5Networks Messages com.apple.internal.ck Family Metadata iMovie Favorites Mobile Documents FileProvider Passes
However, if I trying to
cd into this directory using either quotes or escape characters as described in How to cd to a directory that contains a space in its name?, I still get an error:
LM-SJN-21018636:Library kupeek$ cd "Application Support" -bash: cd: Application: No such file or directory LM-SJN-21018636:Library kupeek$ cd Application\ Support -bash: cd: Application: No such file or directory
It seems like bash is not 'picking up' the quotes or escape characters and is instead looking for a directory called "Application". Any ideas why this is not working?