What is mkdir command used for in Linux?
Experience Level: Junior
Tags: Linux
Answer
The mkdir command allows the user to create directories. This command can create multiple directories at once as well as set the permissions for the directories. It is important to note that the user executing this command must have enough permissions to create a directory in the parent directory, or he/she may receive a ‘permission denied’ error.
Related Linux job interview questions
What is rm command used for in Linux?
Linux JuniorWhat is rmdir command used for in Linux?
Linux JuniorWhat is mv command used for in Linux?
Linux JuniorWhat is cp command used for in Linux?
Linux JuniorWhat is cat command used for in Linux?
Linux Junior