DEV Community

Cover image for How to create a directory or a folder in Linux?
MELVIN GEORGE
MELVIN GEORGE

Posted on • Originally published at melvingeorge.me

How to create a directory or a folder in Linux?

Originally posted here!

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
Enter fullscreen mode Exit fullscreen mode

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 😃.


Discussion (0)