Command to create new directory in linus

To create a new directory in Linux, you can use the mkdir command. The basic syntax is:

mkdir [directory_name]

Replace [directory_name] with the name you want to give to the new directory.

For example, to create a directory called "my_new_dir", you would use the following command:

mkdir my_new_dir

This will create a new directory called "my_new_dir" in the current working directory.

You can also use the -p option to create the directory and all its parent directories if they don't already exist. For example:

mkdir -p my/new/directory

This will create the directory "my/new/directory" and all its parent directories if they don't already exist.

You can also use the mkdir command with other options, such as:

For example:

mkdir -m 755 -v my_new_dir

This will create a new directory called "my_new_dir" with permissions 755 and show the output of the command.

Note: The mkdir command is case-sensitive, so if you want to create a directory with a specific case (e.g. "MyNewDir"), you need to use the correct case when creating the directory.