MKDIR Commands Cheat Sheet

Here is a cli commands cheat sheet for MKDIR command, you can use this as a quick reminder for basic commands with a brief description for each of the commands.

What is MKDIR command?

Add some data here

        # To create nested directories:
mkdir -p foo/bar/baz

# To create foo/bar and foo/baz directories:
mkdir -p foo/{bar,baz}

# To create the foo/bar, foo/baz, foo/baz/zip and foo/baz/zap directories:
mkdir -p foo/{bar,baz/{zip,zap}}

Check out the MKDIR command documentation .

You can also check our MegaSh cheatsheet tool, that has 150+ searchable linux cheat sheets in one page, so you never forget a command as you work again

Check Also

Best AI tools list