[CentOS] cd to folder with spaces - in a script

Thu May 21 18:02:43 UTC 2009
Rob Hutten <rhutten at flagstonere.bm>

> How can I cd into a dir, when it contains spaces, and I need to use it
in a script?

Quote it:

cd "/home/user/this is a folder/whatever"

-Rob

**********************************************************************
This communication contains information which is confidential and may also be legally privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s), disclosure, copying, distribution, or other use of, or action taken or omitted to be taken in reliance upon, this communication or the information in it is prohibited and maybe unlawful. If you have received this communication in error please notify the sender by return email, delete it from your system and destroy any copies.
**********************************************************************