[TAG] Space in Directory Names

Ben Okopnik ben at linuxgazette.net
Thu Feb 7 10:09:53 MSK 2008


On Thu, Feb 07, 2008 at 12:26:20PM +0530, Amit Kumar Saha wrote:
> On 2/7/08, Ben Okopnik <ben at linuxgazette.net> wrote:
> > On Thu, Feb 07, 2008 at 10:44:23AM +0530, Amit Kumar Saha wrote:
> > >
> > > Is there any other way other to deal with spaces?
> >
> > Sure - use Bash completion.
> 
> Yes, but this fails if I have a directory name, such as 'Book'.

Really? It works fine for me.

``
ben at Tyr:~$ cd /usr/src/linux/Documentation/ABI/removed/
''

I got to the above by typing 'cd /u<tab>sr<tab>l<tab>D<tab>A<tab>r<tab>' - 
and all of the above are directories.

If the console beeps at you when you hit the tab, you may have more than
one entry that matches what you've entered so far. Hit 'tab' again to
see the options and resolve them by adding a character. 


-- 
* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://LinuxGazette.NET *




More information about the TAG mailing list