[TAG] Space in Directory Names

Suramya Tomar security at suramya.com
Thu Feb 7 09:42:26 MSK 2008


Hey Amit,

> I then come across this
> http://librenix.com/?inode=7041
> 
> I got away with it after using:
> 
> $ cd /media/sda5/Writings\ \&\ Presentations/"Book Reviews"
> 
> Is there any other way other to deal with spaces?

You can also escape out the spaces instead out using quotes:

  cd /media/sda5/Writings\ \&\ Presentations/Book\ Reviews

I personally prefer using quotes instead of escaping each and every space.

- Suramya

-- 
-------------------------------------------------
Name : Suramya Tomar
Homepage URL: http://www.suramya.com
-------------------------------------------------

************************************************************
Disclaimer:
Any errors in spelling, tact, or fact are transmission errors.
************************************************************




More information about the TAG mailing list