1.

Which command is used for creating directories?(a) rmdir(b) mkdir(c) cd(d) cpThe question was asked in semester exam.The doubt is from File Handling Commands: pwd, cd in chapter The File System of Unix

Answer»

Right choice is (B) mkdir

To explain: DIRECTORIES in UNIX are created using mkdir command. The NAME of the directory to be created is specified as an ARGUMENT to the mkdir command. For example, to create a dir named dir_01 in the current directory we can use the FOLLOWING command,



Discussion

No Comment Found

Related InterviewSolutions