Linux - Make Directories in Bash
In Bash, the command to make a new directory is the same as in Windows. Let’s make a new directory called my cool folder with the mkdir or make directory command. Now we can verify my cool folder is in our desktop.
$ cd ~/Desktop
$ mkdir my_cool_folder
$ ls
my_cool_folder
Instead of using backticks like in Windows to escape a character, in Bash, you can use a backslash. Similar to Windows, you can also use quotes to encompass an entire file name.
How do you think you would make a directory called my cool folder in Linux with spaces? Mkdir my backslash, cool backslash folder
or
Or mkdir “my cool folder” works as well
