Naming a new directory?

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are asking about.>

https://www.codecademy.com/courses/learn-the-command-line/lessons/navigation/exercises/cd-ii
<Below this line, describe in what way does your code behave incorrectly? Include ALL error messages.>
how do i make a new directory which has a name having multiple words for eg “Important Files”.

<Below this line, add a screenshot of your whole web browser so that we can see what you see.>

you put it in quotation marks
mkdir "Important Files"

1 Like

@joelmani

mkdir Important\ Files works too, but the quotation marks are even easier to use

The above answers are correct but I just gotta Kanye here and say, at least in development, its best to avoid spaces in file and directory names. Underscores or hyphens work well just try to be consistent.

Important_Files, node-modules, Kanye_Knows_Best, etc…

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.