How do you create a directory in UNIX?



How do you create a directory in UNIX?..

Answer / hr@tgksolutions.com

In UNIX, the mkdir command is used to create directories. By executing mkdir directory_name, a new directory with the given name is created in the current location. The command is simple yet powerful, with options like -p, which allows the creation of nested directories in a single command. It's essential for organising files and ensuring structured data storage.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

What does sed command do in unix?

0 Answers  


Why is shebang used?

0 Answers  


what is the command to find out which shell you are running?

14 Answers  


What is the command to check ports active in UNIX?

4 Answers   Accenture, IBM,


Explain the read, write, and execute permissions on a UNIX directory.

5 Answers  






Give Command that will change the name of a directly from paypal to eBay

3 Answers   Alcatel, IBM,


what is tar command and what are the different types of tar commands?

5 Answers  


Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


What is the difference between udp and tcp?

2 Answers   HCL, TCS,


Can a process kill itself in UNIX/or in its various versions?

2 Answers  


How to redirect standard error to a file?

2 Answers  


What is “chmod” command?

0 Answers  


Categories