LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2004, 05:07 PM   #1
sideveloper
LQ Newbie
 
Registered: Mar 2003
Posts: 13

Rep: Reputation: 0
change into directory with space in it?


I'm trying to get Dreamweaver installed in wine but the directory on my cd is named Dreamweaver MX, is there a way to change into that directory or should I copy the whole thing to my hard drive and rename it?

Thanks
 
Old 03-06-2004, 05:12 PM   #2
smith847be
Member
 
Registered: Jun 2003
Location: Hanover, New Hampshire, USA
Distribution: Debian Sid (Unstable)
Posts: 143

Rep: Reputation: 15
to change into a directory with a space, just put a backslash in before the space. Most apps that aren't console-based, however, should recognize a space a space (so should recognize with no backslash), but consoles do require the backslash. Example:

$ cd Dreamweaver\ MX
 
Old 03-06-2004, 05:14 PM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
You can add a backslash before the space, but it's probably easier if you utilize autocomplete.
eg to get in a directory called "directory with space" you can do
cd directory\ with\ space
 
Old 03-06-2004, 05:18 PM   #4
sideveloper
LQ Newbie
 
Registered: Mar 2003
Posts: 13

Original Poster
Rep: Reputation: 0
thank you very much. I was using back slashes but wasn't putting a space after.

Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can't delete directory with space in name budhead Linux - Software 12 12-02-2014 11:21 AM
Not enough space for root directory on a drive with 50g free space??? auoq Linux - Newbie 1 10-13-2004 01:44 PM
allocated space of a directory Dave31836 Programming 8 10-04-2004 07:07 PM
directory with a space singedwings Linux - Newbie 4 08-24-2004 06:55 AM
mountig - change ro to rw, delete directory, change rw to ro ?? itsjustme Linux - General 6 10-17-2003 12:48 PM


All times are GMT -5. The time now is 10:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration