mkdir dirname
Create a new directory
mkdir creates a directory. mkdir fails if the directory already exists. Add -p to ignore that.
Example
$ mkdir logs
$ ls
logs
Tip: Type it yourself in the terminal below - reading is not the same as doing.
Create a new directory
mkdir creates a directory. mkdir fails if the directory already exists. Add -p to ignore that.
$ mkdir logs
$ ls
logs
Tip: Type it yourself in the terminal below - reading is not the same as doing.