mkdir
Creates a directory. More information: https://www.gnu.org/software/coreutils/mkdir.
- Create a directory in current directory or given path:
mkdir {{directory}}
- Create multiple directories in the current directory:
mkdir {{directory_1 directory_2 ...}}
- Create directories recursively (useful for creating nested dirs):
mkdir -p {{path/to/directory}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.