How to create a directory or a folder in Linux?

July 10, 2021 - 1 min read

To create a directory or a folder, you can use the mkdir command followed by the name of the directory in Linux.

For example, to create a directory or a folder with the name of Hello, you can use the mkdir command like this,

# Make directory or folder in Linux 🔥
mkdir Hello

This will create a directory named Hello.

  • The mkdir command is also called the make directory command.

See the above code live in repl.it

That's all 😃!

Feel free to share if you found this useful 😃.