mkdir
mkdir is a Linux command in the File Operations category, rated beginner difficulty. Creates one or more directories. The syntax is mkdir [options] directory. Key options and parameters: directory — name(s) of directories to create. It returns none (directories created). A practical example: mkdir new_folder mkdir -p parent/child/grandchild # Create nested directories mkdir dir1 dir2 dir3 # Create multiple directories A close relative is ls, which lists directory contents. One of the most frequently used commands. A close relative is cd, which changes the current working directory. A close relative is pwd, which prints the current working directory path. More about this category: Linux file operation commands — ls, cd, cp, mv, rm, mkdir, touch, and more. Create, delete, copy, and manage files and directories. Related File Operations commands: ls, cd, pwd, rmdir, rm, cp, mv, touch. This page is part of the free Linux Reference documentation covering 304+ commands, each with syntax, options, practical examples, and a difficulty rating.