How to create and delete folder in linux

How to create and delete folder in linux

 

How to create and delete folder in linux

 

In this post i am going to explain how to create and delete folder in linux. This is a very basic concept and it will be helpful for the linux newbie.

Command to create a folder:

Syntax:
#mkdir <Folder Name>

#mkdir linux

Command to remove empty folder:

Syntax:
#rmdir <Folder Name>

#rmdir linux

Command to remove a folder with files present in it:

Syntax:

#rm -rf <Folder Name>
#rm -rf  linux




Leave a Reply

Your email address will not be published. Required fields are marked *