Create Folder Linux Command Code Example


Example 1: linux create folder


mkdir [folder_name]

Example 2: create directory linux


mkdir /tmp/newdir

Example 3: 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 4: make directory in linux


mkdir [option] dir_name

Example 5: linux create directory


mkdir ./folderName

Example 6: linux terminal create folder


mkdir mydirectory

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable