LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2004, 04:47 PM   #1
mykrob
Member
 
Registered: Jun 2004
Location: Jackson, TN
Distribution: Kubuntu Feisty
Posts: 606

Rep: Reputation: 31
console command question


Hey-
i'm learning to use command line. I am navigation to my Cedega drive,which is called "Program Files". I would assume i can do "cd Program Files", but apparently you have to do something special to use spaces. How do you notate a space in the command line?

thanks,
-myk
 
Old 08-26-2004, 04:57 PM   #2
Joubert79
Member
 
Registered: Jul 2004
Location: Manchester, UK
Distribution: Gentoo
Posts: 46

Rep: Reputation: 15
Use either
cd "Program Files"
or
cd Program\ Files.
 
Old 08-27-2004, 09:38 PM   #3
mykrob
Member
 
Registered: Jun 2004
Location: Jackson, TN
Distribution: Kubuntu Feisty
Posts: 606

Original Poster
Rep: Reputation: 31
thanks, both work!
 
Old 08-27-2004, 09:42 PM   #4
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Also, if say "Program Files" is the only file that starts with 'P' you can just type
"cd P[tab]" and it will auto-complete or show the options.
 
Old 08-27-2004, 09:54 PM   #5
p-static
Member
 
Registered: Jul 2004
Distribution: Gentoo
Posts: 101

Rep: Reputation: 15
Or, if you're as lazy as i am, you can frequently get away with just doing, "cd P*"(or Pr* if something else starts with P, or Pro*...etc, etc). You wouldn't put this in a script, obviously, but it's fine for day-to-day use.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
command for moving via console psa Linux - Newbie 1 08-24-2004 02:50 AM
console mode command marvelous Programming 3 03-13-2004 05:07 AM
console mode command marvelous Linux - Newbie 2 03-12-2004 08:59 PM
'drake console command question the_idoru Linux - Newbie 1 03-16-2003 11:39 AM
when you login to the console/command....... Katrix Linux - Security 3 06-22-2001 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration