LinuxQuestions.org
Review your favorite Linux distribution.
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 01-03-2006, 05:56 PM   #1
Geminias
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 30
Use spaces in command line?


suppose i was rummaging through an ntfs partition: how can i cd to Documents and Settings. It says: no such directory but i think its because it cant understand spaces.
 
Old 01-03-2006, 06:06 PM   #2
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Quote:
Originally Posted by Geminias
suppose i was rummaging through an ntfs partition: how can i cd to Documents and Settings. It says: no such directory but i think its because it cant understand spaces.
Either put "Documents and Settings" in quote marks like I just did or escape the spaces with backslashes like: Documents\ and\ Settings
 
Old 01-03-2006, 08:37 PM   #3
dirk
LQ Newbie
 
Registered: Jan 2006
Distribution: debian
Posts: 17

Rep: Reputation: 0
tab completion is your friend .
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
how to make the Read command handles spaces Kilahchris Linux - Newbie 7 11-06-2004 01:10 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 02:28 PM
Spaces on command line odd Linux - Software 2 05-22-2004 09:17 AM


All times are GMT -5. The time now is 02:28 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