The mkdir command in the Unix operating system is used to make a new directory. The command is similar to the DOS md command.