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 themake directory
command.
See the above code live in repl.it
That's all 😃!