LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 07-26-2006, 09:25 PM   #1
AmphetaminePhreak
Member
 
Registered: Jul 2006
Location: kinda transient right now. Utah is Home, staying in Ohio
Distribution: Mandrake 9.1/Windows XP
Posts: 46

Rep: Reputation: 15
quick easy question


if i have a folder named with a space in it, how do i navigate it in the console?
 
Old 07-26-2006, 09:31 PM   #2
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,245
Blog Entries: 16

Rep: Reputation: 233Reputation: 233Reputation: 233
cd "folder name"
 
Old 07-26-2006, 09:36 PM   #3
greengrocer
Member
 
Registered: Aug 2005
Distribution: Ubuntu Intrepid and Meerkat, formerly used Debian 3.1 (Sarge) with Gnome Desktop
Posts: 353

Rep: Reputation: 37
If you were trying to access a folder named "My Documents" from within a command line terminal, simply type:

cd My\ Documents

or, life can be easier, type: cd My\ <then hit tab> Linux will complete the filename for you.

From within a Window Manager (Gnome, KDE, XFCE etc), simply launch a file browser window and double click on the folder you wish to access (just like you would in MS Windows).

Last edited by greengrocer; 07-26-2006 at 09:37 PM.
 
Old 07-26-2006, 09:46 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,123

Rep: Reputation: 162Reputation: 162
Just wrap it in quotes or escape the space. For example, all of the following work in the bash shell:
Code:
cd "some folder"
cd 'some folder'
cd some\ folder

Last edited by gilead; 07-26-2006 at 09:48 PM. Reason: EDIT: Perhaps I could refresh a page before submitting? ;-)
 
Old 07-26-2006, 09:47 PM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 48
-nevermind-
 
  


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
Very Easy Quick Question From an Newbie. Anthony1uk Linux - Newbie 2 06-08-2005 01:34 PM
Quick 'n' easy question! orange400 Linux - General 6 09-09-2004 11:36 PM
Really quick and easy question libranikki Linux - Newbie 2 08-05-2004 08:54 PM
quick easy question alexr186 Linux - Networking 3 11-02-2003 09:48 AM
Quick Easy Basic Question RaheimSG Linux - Hardware 5 09-12-2002 08:00 AM


All times are GMT -5. The time now is 03:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration