how to create a new directory in linux code example

Example 1: linux create folder

mkdir [folder_name]

Example 2: create directory linux

mkdir /tmp/newdir

Example 3: create folder in terminal

mkdir *Name of Directory*

Example 4: linux create directory

$sudo mkdir -m777 newFileName

777 is the permissions given to the file
For more info:( https://www.pluralsight.com/blog/it-ops/linux-file-permissions )

Example 5: make directory in linux

mkdir [option] dir_name

Example 6: create a folderlinux

mkdir folder
mkdir [option] folderName
mkdir directory