1.

For creating and removing directories, which of the following system calls are used?(a) mkdir(b) rmdir(c) chdir(d) mkdir and rmdirThis question was addressed to me in a job interview.My enquiry is from File handling System Calls topic in division System Programming I – Files of Unix

Answer»

Correct answer is (d) mkdir and rmdir

The explanation: A NON privileged user uses mkdir and rmdir calls for creating and REMOVING DIRECTORIES respectively.



Discussion

No Comment Found

Related InterviewSolutions