What's up with bash shell and spaces in filenames?
Suvayu Ali
fatkasuvayu+linux at gmail.com
Mon May 10 17:29:18 UTC 2010
On Monday 10 May 2010 09:32 AM, Tom Killian wrote:
>> [alan at 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.
More information about the users
mailing list