[CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'

m.roth at 5-cent.us m.roth at 5-cent.us
Wed Jun 4 19:58:37 UTC 2014


James B. Byrne wrote:
>
> On Tue, June 3, 2014 12:13, SilverTip257 wrote:
>> Escape the space with a backslash.
>> cd ~/Library/Application\ Support
>>
> hll-m22:~ byrnejb$ cd ~/Library/Application\ Support
> -bash: cd: /Users/byrnejb/Library/Application: No such file or directory
> hll-m22:~ byrnejb$ cd ~/"Library/Application\ Support"
> -bash: cd: /Users/byrnejb/Library/Application\: No such file or directory
>
<snip>
Really dumb question: what happens when you
   cd /Users/byrnejb/Library
?
Once there, what's ls -laF show?

Btw, I would only have quoted the directory with the space in it:
~/Library/"Application Support"

      mark




More information about the CentOS mailing list