Linux mkdir Command Maker Tool

Specify the name of the directory to create.
Create parent directories if they don't exist.
Display a message for each created directory.
Set SELinux security context for the directory.
How to Use This Tool

This tool helps you generate mkdir commands easily. Follow these steps:

  1. Enter the directory name in the "Directory Name" field.
  2. Select the desired options using the checkboxes.
  3. Choose a permission code using the radio buttons or enter a custom one.
  4. Copy the generated command and use it in your terminal.
A few examples of mkdir command:
  1. Create a directory: mkdir mydir
  2. Multiple Directories in one go: mkdir mydir1 mydir3 mydir3
  3. Directory Inside Another: mkdir -p parent/child
  4. Mutiple Directories Inside Another: mkdir -p Parent_dir/{dir1,dir2,dir3}
  5. Create a directory with specified permission: mkdir -m 755 my_dir