Other Help Topics :: cd command question..



hi,

how do i use cd command when the directory name is two separate words ie (program files) ..

thanks in advance..

I can give you 2 options.

1. Use " " around your dir: Like # cd "Program Files"

2. Use a \ before the space. The shell than interperts the space and the two words around it as one word. Like: # cd Program\ Files

There is an option to give 2 argument to the cd command.
If you are in /usr/X11R6/lib and you would like to go to /usr/share/lib you can type: # cd X11R6 share
You will than go to /usr/share/lib.

HTH.,

Remco


original here.