Basic Commands in Linux - To create folder or directory

mkdir

   mkdir used to create a folder or directory.

mkdir [OPTION]... DIRECTORY...  

mkdir bill - this will create a folder called bill in current directory
mkdir bill

mkdir john smith - this will create two directory john and smith at same time.
mkdir john smith 

mkdir -p never/give/up - this will create never as parent directory which contains give and give contains up.
mkdir -p never/give/up

Comments

Popular posts from this blog

Basic Commands in Linux - To display list of files and folders in a directory or folder

Basic Commands in Linux - To display Date And Time

Basic Commands in Linux - To create a file