Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: cd command question..< Next Oldest | Next Newest >
noobpin Offline





Group: Members
Posts: 11
Joined: Nov. 2005
Posted: Nov. 08 2005,17:57 QUOTE

hi,

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

thanks in advance..
Back to top
Profile PM 
NotTheMama Offline





Group: Members
Posts: 42
Joined: April 2005
Posted: Nov. 08 2005,18:56 QUOTE

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
Back to top
Profile PM 
1 replies since Nov. 08 2005,17:57 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: cd command question..

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code