❌

Normal view

There are new articles available, click to refresh the page.
Before yesterdayMain stream

Basic Linux Commands – mkdir

By: Gowtham G
8 February 2024 at 08:02

Here,we are going to discuss about one of the necessary command β€œmkdir” which is nothing but β€œMake Directoryβ€œ.

mkdir folder_name

It simply create a new folder named β€œfolder_name” in the respective area.
It does not show any message.

mkdir -v folder_name

β€˜-v’ ==> verbose.
It also used to create an empty folder.But there is a message will be displayed in the terminal.Like this…,
mkdir: created directory β€˜folder_name’.

mkdir {folder_name1,folder_name2,folder_name3}

This command is used to create multiple folders at a single time by using { }.

mkdir -p folder_name/sub_folder/child_folder

β€˜-p’ ==> denotes parent.
We can create sub folders into folders by using the above command.

NOTE:
We can also create an empty text file using mkdir.

❌
❌