cd command question..


Forum: Other Help Topics
Topic: cd command question..
started by: noobpin

Posted by noobpin on Nov. 08 2005,17:57
hi,

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

thanks in advance..

Posted by NotTheMama on Nov. 08 2005,18:56
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

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.