On Mon, May 10, 2010 at 8:31 AM, Fennix <[email protected]> wrote: > On Mon, May 10, 2010 at 11:23 PM, Alan Evans <[email protected]> wrote: >> >> This is an on-again-off-again kind of problem. It usually hits me when >> it is least convenient, like when I only have shell access to the >> machine. Example: >> >> [[email protected] ~]$ cd /media/My\ Book/ >> bash: cd: /media/My: No such file or directory >> [[email protected] ~]$ cd "/media/My Book/" >> bash: cd: /media/My: No such file or directory >> [[email protected] ~]$ Gaaah! >> bash: Gaaah!: command not found >> >> What's up with that? Usually it is no trouble, but occasionally, bash >> refuses to deal with spaces. I don't even know what to do in this >> case. > > Put the space or the whole path in quotes? This works for me. > > cd /media/My" "Book/ Nope: [[email protected] ~]$ cd /media/My" "Book/ bash: cd: /media/My: No such file or directory > cd "media/My Book/" Tried that already! -- users mailing list [email protected] To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines