LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Use spaces in command line? (https://www.linuxquestions.org/questions/linux-newbie-8/use-spaces-in-command-line-399193/)

Geminias 01-03-2006 04:56 PM

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.

phil.d.g 01-03-2006 05:06 PM

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

dirk 01-03-2006 07:37 PM

tab completion is your friend :).


All times are GMT -5. The time now is 03:18 AM.