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

In vi editor how do you execute unix commands?

10 Answers  


What command is used to check the current users?

0 Answers  


What does 'mkdir' command do in UNIX?

0 Answers   Syntel, Visa,


What are awk commands?

0 Answers  


Where LOG fiels resides in AIX and pls tel me how to remove the log file

6 Answers   Vestas,


How can you change the owner or group of a file?

1 Answers  


Write a command that will display files in the current directory, in a colored, long format.

0 Answers  


What is the basic difference between unix and windows operating systems?

43 Answers   Bopro, College School Exams Tests, CTS, IBM, IT-Kids, Priyadarshini, Sybian Technologies, Tolani Maritime,


Give the command to display space usage on the UNIX file system.

16 Answers  


how will u execute a file in unix

8 Answers   QA,


What do chmod command do?

0 Answers  


What is grep in bash?

0 Answers  


Categories