make directory in linux code example

Example 1: bash make multiple directories in current directory

# Basic syntax:
mkdir directory1 directory2 directory3 # Make directory1, 2, and 3 in the
#	current directory

Example 2: linux create folder

mkdir [folder_name]

Example 3: create directory linux

mkdir /tmp/newdir

Example 4: linux create directory with permissions

mkdir –m777 DirM

Example 5: create folder in terminal

mkdir *Name of Directory*

Example 6: make directory in linux

mkdir [option] dir_name

Tags:

Misc Example