mkdir

Technology & Computing abbreviation · Programming

mkdir
Stands forMake directory
CategoriesTechnology & Computing

mkdir stands for Make directory, a programming abbreviation.

The command that creates a new directory, or folder, on Unix, Linux, macOS and Windows command lines. The -p option creates any missing parent directories in one go.

Example: The command mkdir -p src/components/ui creates all three folders in one step.

Usage notes

Part of Unix since its early versions and specified by POSIX. Related commands include rmdir, which removes an empty directory, and cd, which moves into one. In Python, os.makedirs offers the same behavior as mkdir -p.

More programming abbreviations

  • LINQ – Language Integrated Query
  • Lisp – List processing
  • LLVM – LLVM (originally Low Level Virtual Machine)
  • LOC – Lines of code
  • LRU – Least recently used
  • MATLAB – Matrix Laboratory
  • MQ – Message queue
  • MR – Merge request
  • MVC – Model-view-controller
  • MVVM – Model-view-viewmodel
  • NaN – Not a number
  • NIH – Not invented here

See all 154 programming abbreviations →