linux create directory 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: 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 6: linux create directory
mkdir ./folderName