How do you create a directory in UNIX?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to use grep command to list find the records of a file containing 10 different strings?

825


What is unix command?

910


How do I find previous commands in unix?

843


Enlist some filename manipulation commands in unix.

791


Explain command to view process running?

848


Does cp command overwrite files?

857


What is rmdir command?

820


How do I delete files from command prompt?

857


What are grep patterns?

795


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

934


What is the behavioural difference between cmp and diff commands?

919


What is “chmod” command?

787


What is the command to find maximum memory taking process on the server?

917


What is merge command in unix?

1175


How can we use grep command in unix?

875