# Mkdir aliases

The mkdir.aliases.sh file creates helpful shortcut aliases for creating directories.

The Mkdir aliases are a collection of aliases that allow you to interact with the mkdir command line tool. Mkdir is a tool which creates a directory.

# Mkdir

Mkdir (opens new window) is a command that creates a directory. The mkdir utility creates the directories named as operands, in the order specified, using mode “rwxrwxrwx” (0777).

Alias Command Description
mcd mkdir -pv && cd Make directory and cd into it.
mcdp mkdir -pv && cd Make directory and parents and cd into it.
md mkd Make directory.
mdd mkdir -pv $(date +%Y%m%d) Make directory with date.
mdp mkdir -pv Make directory and parents.
mdt mkdir -pv $(date +%h%m%s) Make directory with time.