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

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

961


How do I use grep to search for a file?

796


What's a command word?

807


Give the command for finding the current date.

780


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1043


What is time_t?

789


What does the command ' $who | sort –logfile > newfile' do?

1043


What is grep in bash?

781


Is it inbetween or in between?

804


Which command is used to find whether the system is 32 bit or 64 bit?

844


What is the significance of the 'tee' command?

838


Which unix command to make a new directory?

814


What is the comma to display different lines that are found when compare two files?

811


What is the use of cut command in unix?

962


What is unix command line?

827