DEV Community

loading...
Cover image for How to create a directory or a folder in Linux?

How to create a directory or a folder in Linux?

MELVIN GEORGE
Hi, I'm Melvin George, A web developer, and a blogger.
Originally published at melvingeorge.me ・1 min read

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)