Naming a new directory?


how do i make a new directory which has a name having multiple words for eg "Important Files".


you put it in quotation marks
mkdir "Important Files"



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.