create directory bash code example

Example 1: nbash creacte new folder

$ cd documents
$ mkdir assignments
$ cd assignments
$ pwd
    /users/jpalomino/documents/assignments

Example 2: create folder in terminal

mkdir *Name of Directory*

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: linux create directory

mkdir ./folderName

Example 5: bash new folder

mkdir dirname