How do I create a directory hierarchy in Linux?

Ngô Thị Vân

New member
How do I create a directory hierarchy in Linux?
Answer
To create a new directory with multiple subdirectories you only need to type the following command at the prompt and press Enter (obviously, change the directory names to what you want). The -p flag tells the
mkdir command
to create the main directory first if it doesn’t already exist (htg, in our case).
 

Tìm kiếm

Back
Top