Re: What's up with bash shell and spaces in filenames?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 10 May 2010 09:32 AM, Tom Killian wrote:
>> [alan@agena ~]$ cd /media/My*
>> bash: cd: /media/My: No such file or directory
>
> this suggests that there may be a space at the *beginning* of the filename.

Try escaping the space, something like this:
$ cd /media/My\ *

Although I would still think using shell globs for cd is too 
unpredictable for my taste.

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux