mkdir (create a directory)

This command creates a directory, plain and simple. Use it with the option -p (“parents”) to create a directory with some parent directories in one fell swoop. For example:

mkdir -p my/code/c

This will create the directory c along with its parent directories my and my/code.